Closed avandijk closed 11 years ago
Hi, two points to note here:
ng-app
for the whole application (e.g. put it at the body-tag), but not one on every mobile page. In jsfiddle, you can do this by clicking on the "info"-Button to the left, there you can edit the body-tag.onActivate
can refer to the properties in the resolve
object of the routeOverride
. So instead of onActivate(filter)
use onActivate(name)
with locals: {name: 'test'}
.Here is an updated jsfiddle that works: http://jsfiddle.net/vFxP7/1/
Tobias
Perfect.
Thx!!!!!!
Hi,
I just got into this great adapter but I'm a bit struggeling with the communication between different controllers. I looked into the new $location service and using the 'onactivate' to specify the function to invoke when a page is activated. It seems that in my code the function 'load()' is never called. Am I doing something wrong here...?
see http://jsfiddle.net/vFxP7/
thx Arjan