Questions tagged as 'angularjs'

1
answer

Edit array inside another array

I'm new to AngularJS and I have the following situation: I have a list of categories and within this list of categories there is a product listing for that category. Example: Smartphones > Galaxy, iPhone, etc ... The problem is...
asked by 07.02.2018 / 23:42
2
answers

How to manipulate DIV with angularjs

I have 3 DIVs and would like to manipulate them with buttons. Depending on the button, 2 DIVs will hide and only one will appear. <div ui-view> <div class="box1"> conteudo <div> <button ng-click="Box2()">Funcao...
asked by 08.02.2018 / 18:55
1
answer

Component select disabled and angular selected value

I have the following situation I have a select county component <div class="form-group col-md-4"> <label>Entidade:</label> <select ng-model="distrito.entidade.idEntidade" class="form-control">...
asked by 03.10.2017 / 14:17
1
answer

JS Countdown not working on safari

I'm developing a website with a countdown. The code works fine and the timer starts counting perfectly in Firefox and Chrome, but in Safari the number shows NaN: NaN: NaN Has anyone ever had this problem? I'm using Countdown JS: link...
asked by 17.08.2017 / 14:50
1
answer

Doubt with $ http in AngularJS

When I do the get , I load it into an object's $ scope.contacts and I can show it in my View html. However, I can only access it within my then(function(){}) function, when I leave the part where I called $ http, I can no longer acc...
asked by 22.05.2017 / 20:03
2
answers

Filter with angle in date with mask 'dd / MM / yyyy HH: mm: ss'

I am applying a filter on my page, it was working perfectly, except that when I applied the mask to be in the format dd / MM / yyyy HH: mm: ss it stopped filtering correctly, it understands that there is nothing corresponding, from the first nu...
asked by 24.07.2017 / 16:36
1
answer

CSS options menu

Good morning, I need to create a menu in the right corner like the example, but I'm not able to ... When you click on my button you need to open the menu on top of the button without leaving the screen I need it to look like this: f...
asked by 30.10.2017 / 14:18
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
2
answers

Ng-repeat with div

I have a list of information. I need you to show 4 records per line, I tried several ways, but I could not. It shows all the records in a row. <div flex layout="row" flex="100"> <div layout="row" flex="25" layout-padding layout...
asked by 18.09.2017 / 16:44
1
answer

Switch with angularjs

Good afternoon, folks next, I have a profit column on a table, where the data is written like this: 1,2,4,8 .. So each number corresponds to a benefit, I'm trying to return this data to my view. I'm trying this way: var getBenefits = function(...
asked by 22.04.2017 / 21:27