UNPKG
ui-switchery
Version:
latest (1.0.0)
1.0.0
1.0.0-beta.1
Angular directive for switchery.js
github.com/bettimms/ui-switchery
bettimms/ui-switchery
ui-switchery
/
demos
/
js
/
OldScopeController.js
12 lines
(10 loc)
•
260 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** * Created by betim on 4/11/2017. */
(
function
(
app
)
{ app.
controller
(
"TestController"
, [
"
$scope
"
, TestController])
function
TestController
(
$scope
)
{
$scope
.switchA = {};
$scope
.switchA.on =
true
; } })(angular.
module
(
"app"
));