Linked Questions

-5 votes
1 answer
6k views

var faraWorkspaceApp = angular.module("FaraWorkspace", ['ngRoute', 'ui.router']); what is the different between ngRoute and ui.router in angularjs?
Mohamad Shiralizadeh's user avatar
239 votes
8 answers
275k views

I am trying to use the ng-click feature of AngularJS to switch views. How would I go about doing this with the code below? index.html <div ng-controller="Cntrl"> <div ng-click="...
The_Brink's user avatar
  • 2,659
140 votes
10 answers
130k views

Currently our project is using default $routeProvider, and I am using this "hack", to change url without reloading page: services.service('$locationEx', ['$location', '$route', '$rootScope', function(...
vuliad's user avatar
  • 2,142
15 votes
3 answers
14k views

I have several routes that are different, but contain similar parameters. Example: when '/user/:accountId/charts/:chartType', controller:ChartsController when '/manager/:accountId/charts/:chartType', ...
Nawlbergs's user avatar
  • 1,112
17 votes
1 answer
110k views

Below is my app.js file angular .module('repoApp', [ 'ngAnimate', 'ngAria', 'ngCookies', 'ngMessages', 'ngResource', 'ngRoute', 'ngSanitize', 'ngTouch', 'ui....
Shah Rukh K's user avatar
0 votes
1 answer
7k views

For big projects ui-router is preferred. But the main advantage it gives is nested view. But that can be achieved by ng-view also. So which one to choose?
Hitesh Basera's user avatar
6 votes
2 answers
10k views

I use routeProvider in Angular JS: .when('/profile/personal', { templateUrl: 'personal.html', controller: 'EditProfileController' }) How I can pass param to controller ...
Hamed's user avatar
  • 410
10 votes
2 answers
6k views

I'm using $location.path() to load new view inside my angular web site. My page looks like : <html> <head> </head> <body> <div data-ng-view="" ></div> </body&...
BironDavid's user avatar
5 votes
2 answers
3k views

I am starting a new angular project(a single page app), which will have complex views (dialogs, wizards, popups, loaders), though exact requirements are not so clear at the moment. Should I use ui....
user avatar
8 votes
3 answers
3k views

I have AngularJs ui router in my application. I need to load js file based on my state. .state('root.home',{ url: '/index.html', views: { 'header': { ...
Sarath's user avatar
  • 1,499
1 vote
1 answer
3k views

In a mini test that I made there were 4 (true/false) questions about UI Router VS ngRoute. I did the test and my research, but I am not sure about my answers. Can someone please confirm and help me ...
Flame_Phoenix's user avatar
4 votes
2 answers
4k views

I asked a question yesterday How to do multiple views with Angular to support header and sidebar? and based on that question I was able to make some progress in having a header and a sidebar for my ...
birdy's user avatar
  • 9,666
2 votes
1 answer
1k views

I am working on creating a weather module for my SPA with Angular 1.4 and attempting to fade my a view out as the other fades in, when the user clicks a button to retrieve the forecast for their city. ...
Evan Bechtol's user avatar
  • 2,863
0 votes
3 answers
2k views

I've read through the other related threads on the subject and tried their recommended solutions but I can't figure it out. As far as I can tell, ngRoute is being correctly linked to the project via ...
pfarnach's user avatar
  • 121
0 votes
3 answers
1k views

I am using the Ionic Framework to create a single page app for mobile. I have a tab based structure for the profile page. Inside the "Home" view, I have a link "Edit Profile" once clicked it should ...
ksa_coder's user avatar
  • 1,413

15 30 50 per page