selection={{selection}}
Settings Div
Home Span
default
(function (angular) {
'use strict';
angular.module ('switchExample', ['ngAnimate'])
.controller ('ExampleController', ['$ scope', function ($ scope) {
$ scope.items = ['settings', 'home', 'options', 'other'];
$ scope.selection = $ scope.items [0];
}]);
}) (window.angular);
selection={{selection}}
Settings Div
Home Span
default
(function (angular) {
'use strict';
angular.module ('switchExample1', ['ngAnimate'])
.controller ('ExampleController1', ['$ scope', function ($ scope) {
$ scope.items = ['settings', 'home', 'options', 'other'];
$ scope.selection = $ scope.items [0];
}]);
}) (window.angular);
asked by anonymous 22.10.2018 / 20:53