Angular Routing (ngRoute) vs Sails Routing

34 views
Skip to first unread message

ABHISHEK

unread,
Jan 16, 2017, 12:49:36 AM1/16/17
to sails.js
Sorry for asking very basic question but as a beginner, I was not able to find out that how to use the Angular Routing using ngRoute with sails. 

I have registered one route '/profile' in angularJS using ngRoute, but whenever I try to access this Route using 'localhost:1337/profile' It's trying to access the Sails Route. 

So, just wanted to check where in the app I need to make changes to enable to Angular Routing? 

Can someone please help me on this? 

Thanks.
Reply all
Reply to author
Forward
0 new messages