I have 2 buttons which successfully load subviews into a ui-vew  (via 
 ui-sref 's). However I have a 3rd button which I want to call a controller 
method and inside that controller do some logic before displaying another 
subview programmatically. 

Is this possible ? i mean can I use $location.something() to navigate to 
the subview ?


I could just get the 3rd button to load the subview just like the others 
and put a 'data-ng-init' on that view but that sounds a really bad solution

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to