Hi sansa, ng-view is a placeholder for your routing views if you are using ui-router. In order to change the view no dblClick you can add a controller in your $stateProvider.state() function that you must have created while assigning states. Then you can use ng-dblclick="details(b)". You cannot change the view directly using just a controller function. Include that function in your $ststeProvider.state() function instead. Refer to https://ui-router.github.io/ng1/docs/latest/index.html for further reading.
Thank you, Hardik Chuahan On Monday, May 8, 2017 at 5:15:24 PM UTC+5:30, sansa wrote: > > Hi everybody ! > please i need your help :/ in my angularjs app i have an ng-view, and i > want to display my page 'CreateBranch.html' in the view when i dblclick a > table row > <tr ng-repeat="b in branchs" ng-dblclick="details(b)">....</tr> > i know how to use views with links but i want to display my view by > clicking on my row :) > regards ! > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
