Questions tagged as 'ui-router'

2
answers

How to redirect page in Angular?

After completing the data update, I want the system to redirect the user to another page. I am using ui-router and was instructed to use $ state.go. But how do I use this command? Follow my code: app.controller("AtualizarUsuarioController",...
asked by 11.01.2016 / 18:44
4
answers

User Permission - Angularjs

I have permission levels for users on my system: admin user and basic user. I have a page that only admin users can access. I put an ng-if="isAdmin ()" in the hide menu if you are not an administrator. It works correctly, but if by chance...
asked by 23.08.2017 / 04:17
1
answer

AngularJS ui-router application has / #! / in the URL

I have an application with ui.router running normally, but a second application has a "!" after / p> Ex: http://localhost:8090/dev/#!/home Why does this happen? The normal should be: http://localhost:8090/dev/#/home  ...
asked by 28.12.2016 / 17:16
1
answer

Ui-route More than one view

Hello, I work with angular, and I'm using UI-ROUTE I'm trying to put two views on the same page and n with you. Here's how I want the views to appear: WhenIclickon"My cadastral data" it is for him to display on the right side the info of the...
asked by 01.06.2016 / 03:53
1
answer

Problem with uiRouter

I have a problem with my router when i use it i can not make it work, i copy the exact code as it is in git from uiRouter and it does not work, because the links are not referable, when I hover the mouse over the link the format of the mouse is...
asked by 05.06.2017 / 18:51
1
answer

Angular ui router plus PHP

Currently I have an array in php that converts to JSON using json_encode json and generated without problems. $array = array('a' => 'Olá mundo', 'b' => 'Olá Marte'); $array = json_encode(array); //$array agora retorna {"a":"Olá mu...
asked by 15.02.2017 / 13:44
1
answer

Ui-router for systems with many modules

I came across a problem I have a Controller called OrderController that is in two modules, Sales and Supply. When I make the route to the screen that will use this controller how can I define which of the two controllers I want to use, how can I...
asked by 17.09.2016 / 22:53
1
answer

SPA with ui Router Angular JS files many large

Talk the guys. This is a conceptual doubt. Recently I started developing a SPA application ( Single Page Aplication ) making use of the partial rendering concept, using ui Router (more information about a Router here ). It was then...
asked by 08.10.2015 / 14:32
1
answer

Ui-Routes get the id of the logged in user

I'm using ANGULARJS / UI-ROUTES , and currently my application after login only keeps the email, I need to also have the user ID logged in. The issue of the routes I get, the problem is that he does not see the ID to be able to bring. I think...
asked by 26.05.2016 / 15:54
1
answer

ui-router does not render the view contained in an ng-template

I'm doing an online course of mean and I'm having trouble rendering a view. The view is inserted inside a Script tag and specified as a ng-template and configured within ui-router . Even following the instructions the vie...
asked by 26.04.2016 / 02:40