Questions tagged as 'ngroute'

1
answer

#! in angularjs url

I made an application with angularjs, in the ngroute I have var appLogin = angular.module('appLogin', ['ngRoute', 'ngResource']) // Declared route .config(['$routeProvider', function($routeProvider) { // alert(JSON.stringify($routeProvider...
asked by 10.01.2017 / 00:14
1
answer

Driver in ANgularJS

This time I write because I have a problem in a small app of AngularJS and I am trying to connect to a controller with an example that I read in a book, but it is not showing me the variable $ scope that I declared in the controller . This is th...
asked by 24.03.2018 / 14:04
1
answer

Use routerLinkActive without using routerLink

Good morning, everyone. I tell you my problem. I had to modify my HTML to remove the routerLink="" and now do that logic in the controller with router.navigate[()] So the html is something like this: <ul class="nav">...
asked by 25.07.2017 / 14:43
0
answers

How to reload assets after route in angularjs?

I have a site with animations. When I load the page for the first time everything works. But if I browse through the pages "/", "/ company" the animations stop working. I leave the example with screenshots: First upload "home.html":...
asked by 06.01.2017 / 20:50
1
answer

Angular 2, links

I have a web in angular 2, with the routes set so that I can go browsing the web loading my different modules, when I click on a link the module I want is loaded, but the position of the scroll is maintained. And I need that every time someon...
asked by 05.05.2017 / 11:40
0
answers

AngularJS | How to put different meta tags in a dynamic site with NgRoute?

I'm making a web page with AngularJS , and use a controller with NgRoute , and with Ngview pass page by page as a dynamic website, the problem is that I want to change the title and the metatags for each page that happe...
asked by 20.08.2018 / 19:00
0
answers

Arming routes from a json angularjs

I have the complete paths (controllers, template, url) in a json and I have to assemble it from AngularJS, configure it from the app.config () How do I do it? If I can not have a $ http in the app.config () Thanks     
asked by 06.06.2018 / 17:21
1
answer

Angularjs and routes with #!

I have a website with angularjs 1.6.4 and when I joined link I automatically added #! and enter http://www.misitio.com/mercado/index.html#!/ At first I was annoyed and I did the whole site without problems, with entityframework and web ap...
asked by 31.05.2018 / 17:50
1
answer

Conflict with ngRoute and JQuery

Colleagues, I have the following scenario, I am building a website of type SPA ( Single Page Application ), so I need to work with $routeProvider to link the routes to each view. So far so good, dynamic routes work well for me; the...
asked by 22.05.2018 / 22:28