| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1× 1× | (function() {
'use strict';
angular.module('fabSpeedDialDemoBasicUsage', ['ngMaterial'])
.controller('DemoCtrl', function() {
this.topDirections = ['left', 'up'];
this.bottomDirections = ['down', 'right'];
this.isOpen = false;
this.availableModes = ['md-fling', 'md-scale'];
this.selectedMode = 'md-fling';
this.availableDirections = ['up', 'down', 'left', 'right'];
this.selectedDirection = 'up';
});
})();
|