-
Recent Posts
Recent Comments
- Z F on Navigate to URLs outside of the Angular application with target=”_self”
- stef on Using jQuery to provide an inline confirmation on buttons
- Eli Thompson on Using jQuery to provide an inline confirmation on buttons
- stef on Using jQuery to provide an inline confirmation on buttons
- stef on Using jQuery to provide an inline confirmation on buttons
Archives
Categories
Meta
Tag Archives: angular
Don’t put ng-app and ng-view on the same element.
I was having a problem where Angular’s routing system wasn’t working in my application. After some experimentation I found this out: If you have an element like then links which go to known routes won’t get handled by Angular’s, rather, … Continue reading
Posted in Development
Tagged angular, angularjs, code, gotchas, javascript, js, routing
Comments Off on Don’t put ng-app and ng-view on the same element.
Use ng-src with img elements
I had an an img element that looked like this: And I saw that the page was making a request for “/{{post.ImageUrl}}”. To prevent templated img elements from requesting their templated markup, use ng-src like: