[AngularJS] Re: Routing In Multi Page Application in AngularJS-1.6.4

2017-11-24 Thread Mickey Vashchinsky
And this is same mock but using router's resolve : https://plnkr.co/edit/pN0kkkyqylM8jAj8iJGE?p=preview On Tuesday, November 21, 2017 at 9:31:56 AM UTC+2, abhishek srivastava wrote: > > > > down votefavorite >

[AngularJS] Re: Routing In Multi Page Application in AngularJS-1.6.4

2017-11-24 Thread Mickey Vashchinsky
Here is a simplified mock of what the app can look like: https://plnkr.co/edit/fNN06PqbrekajnqkyhzR?p=preview On Tuesday, November 21, 2017 at 9:31:56 AM UTC+2, abhishek srivastava wrote: > > > > down votefavorite >

[AngularJS] Re: Routing In Multi Page Application in AngularJS-1.6.4

2017-11-24 Thread Mickey Vashchinsky
Hi. There are many things in the code you posted that better be changed/updated (in my opinion). - For the app to function as multi page app you better use ngRouter (or ui-router) - it will handle the multiple pages and switching between them - If you read the Angular.js docs you

[AngularJS] Re: angularJS routeprovider issue

2014-07-10 Thread Mickey Vashchinsky
Looks like this is a regular server request for a page on the sever. Do you have HTML5 enabled and base set? Try (with the #): http://localhost:80/#/page/editorial1 http://localhost/page/editorial1 On Thursday, July 10, 2014 4:50:52 PM UTC+3, Kunal Vijan wrote: Hi I have following code

[AngularJS] Re: How to redirect to another route?

2014-05-15 Thread Mickey Vashchinsky
Or you can use ui-router https://github.com/angular-ui/ui-router with which you define states, so you have showState among others (and you can nest them too) which has a template + controller that you need. var myApp = angular.module(MyApp, [ui.router]) .config(function($urlRouterProvider,