an angular.js directive that complements the $route service by including the rendered template of the current route into the main layout file.
Questions tagged [ng-view]
348 questions
0
votes
1 answer
Crawl ng-view in angular js
I am developing a static website in AngularJS and I am stuck on an SEO issue. Basically my google webmasters tools tell that there are no crawl errors however when I try to fetch different routes it always returns the same home page result. It…

Ralfs Lagzda
- 13
- 2
0
votes
1 answer
Angular ng-view animation done/complete callback
I'm currently working on a small Angular app which is being used on phones.
The ng-view holds the view and navigation between views is animated (simple sliding).
I'd like to wait for the animation to complete before I start loading in data from the…

Groulien
- 59
- 6
0
votes
1 answer
Angularjs, ng-view scope
I have a plunker here - http://plnkr.co/edit/PzSvKD9M4l1MKjlYluYm?p=preview
I'm using demo json here - https://api.myjson.com/bins/1hdr5
I'm using ng-view and ngRoute to display two pages.
The first is a list of stories/posts pulled from a json…

ttmt
- 5,822
- 27
- 106
- 158
0
votes
2 answers
Can't access element in the same view using AngularJS
so in general I want to build a single page application with AngularJS and I want my page to have different content for public and registered users, thus I put my navbar, content and footer part into different views. The structure looks like…

prameshvari
- 241
- 1
- 3
- 11
0
votes
1 answer
angular ng-view: show after hidden
I use ng-animate and ng-view for sexy show/hide content.
It's work but I try to show second content after first content was already hidden, and i can't understand how do this. I'll be glad to get help. My html:

Mikhail
- 101
- 1
- 5
0
votes
1 answer
Selective loading javascript depending the AngularJS template
I'm working in a Single Page web App, witch will require user/password protection.
Modules will be loading depending on the user profile, to restrict the access on a roll-based manner.
I'm using ng-view to load the templates corresponding the user…

Hojendiz
- 40
- 6
0
votes
2 answers
AngularJS: ngView inside a custom directive
I'm trying to use ng-view inside a custom directive but it's not working and it's also not giving me any console error.
This is my directive:
(function() {
'use strict';
angular
.module('app')
.directive('header', Header);
…

Matheus Lima
- 2,103
- 3
- 31
- 49
0
votes
1 answer
Angular ng-view animation transitions
Using angularjs 1.2, I would like to apply transition animations to my views on enter and leave. I am using 'ngAnimate' to make this possible, however the transition animation is only taking place on my home page. I've been using this article as…

user3574939
- 819
- 3
- 17
- 34
0
votes
0 answers
AngularJS - Load javascript in ng-view
I'm new with AngularJS and I would like to use some javascript library, in this case masonry library. It works fine except that I can't use it in partial html files where it does not work anymore. Where is problem or what should I do? I found that I…

Jaroslav Klimčík
- 4,548
- 12
- 39
- 58
0
votes
1 answer
cannot set property of null Error in angular while using a jssor slider in ng-view
I am trying to use a jssor slider
which i have downloaded (third party slider) in ng-view of my index.html but when the my page is injected through ngRoute to my ng-view it gives me error
Uncaught TypeError: Cannot read property 'currentStyle' of…

Tushar Purohit
- 93
- 1
- 11
0
votes
2 answers
Movie Detail View Angularjs
i´m new in AngularJS and i'm trying to do a Detail view from a list of movies , when you select one movie (clicking in the title) from the 'home' view its supposed to redirect you to the new view with the details of that selected movie ,but i can't…

apra2015
- 1
- 1
0
votes
1 answer
AngularJS $location does not get updated
I am new to AngularJS and I apologize if this is a stupid question. I am struggling for days now and just can't get my head around it.
I have an application with a main controller and three partials with their own controllers. Everything works fine,…

Klaus
- 15
- 3
0
votes
1 answer
AngularJS - Changing an element's ng-enter animation
I have multiple states in my page that change the following element :
I decieded to add animation to the page's transition so and decided to go with ng.animate + animate.css. so I added the following class to the header :…

Or Betzalel
- 2,427
- 11
- 47
- 70
0
votes
1 answer
AngularJS - ngView and "keep in memory"
I use AngularJS and ngView in my project.
ngView works perfectly with ngRoute, but when I come back to the previus link, ngView reload again data (with Ajax).
Is it possible to "keep in memory" previus data, so that should not always recharge all?

Simone Sessa
- 795
- 1
- 12
- 35