angularjs - Angular Dynamic Routing With ASP.net MVC -


its quite obvious cant seem find answer. using angular asp.net mvc. can comfortably write views/templates using razor , link js file in controller. work fine user request page, served asp.net mvc runtime. problem starts when want spa. need define routes. ask forward url asp.net mvc , can return view reference angular controller in it, angular routing forces either use pre resolved controller or provide url resolve controller. there way controller can picked view has reference js file having controller definition , declared using ng-controller. way able use excellent convention based asp.net mvc routing angular spa , simpler developers having asp.net mvc background. summarize, dont want specify controller in route config , provide template url view subsequently has reference controller ,hence controller should resolved there. disappointed if not possible


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -