Questions tagged [ng-view]

an angular.js directive that complements the $route service by including the rendered template of the current route into the main layout file.

348 questions
0
votes
1 answer

Angular JS views not working when integrated with Django

I am new to this Django-Angular JS integration. I created few web pages in AngularJS, views were working fine. As soon as I integrated with Django, first I had to correct paths to work but still views are not working. The view part stays blank and…
Shashank Vivek
  • 16,888
  • 8
  • 62
  • 104
0
votes
1 answer

angular js ng-view functionality

I have been trying to make ng-view work in a simple example app without success. Could someone perhaps point to me where the code is written wrong? Plunker here one two Is the manner of these lines written the…
Abbadiah
  • 171
  • 1
  • 3
  • 10
0
votes
1 answer

Angular ng-model is not working in multiples views

I'm trying to build a single page application with ng-view but at this time I've a problem about ng-model. I've followed this tutorial here and all is working perfectly except ng-model. I've added a form with a single input text with ng-model and a…
0
votes
1 answer

Unable to render jade inside ng-view

I am unable to render Jade when inside ng-view. Outside of ng-view the rendering of jade works just as exprected. My guess is that I have to add a new route to render the content of home.jade, but that does not seem to work. Do you have any…
David
  • 965
  • 3
  • 12
  • 24
0
votes
0 answers

Angular-JS routing get data from MVC controller

I have implemented code to retrieve data from MVC Controller using Angular-JS using ngRoute. What I have implemented is, I have two action methods in MVC controller and at client side I have two menu buttons and by clicking on each button, it…
0
votes
3 answers

materialize.js inside modal inside ng-view doens't work

triggered modal inside ng-view it works but not the inputs js inside it, such as select a date or select option input. Why is that?
molham
  • 1
  • 1
  • 5
0
votes
1 answer

ng-view and scroll event

I'm creating a SPA, with ng-router, and i need to use infinite scroll on one site inside ng-view, but I get a bit confused when ngInfiniteScroll hadn't fired. So i tried to do it on myself without any luck. For simplicity : index.html
Sajgoniarz
  • 176
  • 13
0
votes
2 answers

AngularJS - manipulate variables outside ng-view

I am tryingto make a service that will allow me to manipulate variables outside ng-view. I made a service with factory, but I am at a loss how to transport variables from child-controller to parent (at least, this is the method I have been able to…
Brian Emilius
  • 717
  • 1
  • 8
  • 31
0
votes
0 answers

Binding to a scroll event inside nested views

I need to track if top 300 pixels my subview have scrolled out of the visible area, however I cannot bind to a scroll event of this view (but can bind to 'resize'!) Location: index.html -> global layout -> content area -> subview (this one) …
oharlem
  • 1,030
  • 7
  • 12
0
votes
2 answers

How use ng-view inside ng-view?

I have main ng-view, and controller with left\right side. The right side is fixed, but left side I want change by other templates and controllers. http://plnkr.co/edit/MTxmmZWRY7O0nH88qK3F
Choose:
Mediator
  • 14,951
  • 35
  • 113
  • 191
0
votes
2 answers

Using ng-view and loading the controller on demand

I am using ng-view in an attempt to re-use common page elements. Perhaps I am mis-understanding the point of view and it's not appropriate here. Basically, I have an html page that looks like this: