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
>
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
>
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
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
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,