Open-source IoT Platform - Device management, data collection, processing and visualization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
400 B

x = "before"
myMod.controller "ctrl1", (ctrl1_param1, ctrl1_param2) ->
x = "ctrl1 body"
myMod.controller "ctrl2", ["remove", "me", (ctrl2_param1, ctrl2_param2) ->
x = "ctrl2 body"
]
myMod.controller "ctrl3", [
"remove",
"me",
(ctrl3_param1, ctrl3_param2) ->
x = "ctrl3 body"
]
### @ngInject ###
ctrl4 = (ctrl4_param1, ctrl4_param2) ->
x = "ctrl4 body"
x = "after"