Questions tagged as 'angularjs'

2
answers

Change item with click

When you make click the focus should go to text > var element = $window.document.getElementById('textAreaContent'); > if(element) > element.focus(); > > <span id="click">clickeam...
asked by 28.06.2017 / 18:09
1
answer

ng-checked checkbox

I have the following code: <input type="checkbox" ng-checked="false" ng-model="query" ng-checked="loadValues(column.field)" /> Every time I give the checkbox, it calls the method, but I just want it to call when it is...
asked by 13.06.2017 / 16:26
1
answer

How can I remove and put a class with a toggle using ionic 2?

I want a div to have a specific class when a toggle is in True and you remove it when the toggle is False using ionic 2 . Once I saw in a tutorial that they used a condition with the ng-class directi...
asked by 14.06.2017 / 00:29
1
answer

change image by flag

I have 2 variables that manipulate the same image In the html: <i class="fa fa-trash-o" aria-hidden="true" ng-click="vm.deleteMessage()" ng-show="!vm.instance.deleted" ng-show="!vm.flagDelete"></i> but it never changes, w...
asked by 01.06.2017 / 21:16
1
answer

Page and order full list in angular

I have a list of records that I show with ng-repeat that I'm sorting by phone and I'm listing it. <li ng-repeat="todo in filteredTodos | orderBy:'phone':true">{{todo.phone}}</li> I need to sort and paginate the list, bu...
asked by 06.07.2017 / 15:44
1
answer

Configure Ionic proxy

When executing ionic start Aplication_mobile blank Error when downloading the template Fetching app base (https://github.com/driftyco/ionic2-app base/archive/master.tar.gz) ✖ Downloading - failed! Error: connect ETIMEDOUT 192.30.253.113:...
asked by 23.05.2017 / 15:22
2
answers

Angular 4. I can not use PrimeNG's Autocomplete

I am learning to use Angular 4, and in my effort to learn I want to install the Autocomplete element of PrimeNG and I get the following error: My project is basic and I have the following: autocomplete.component.html: <p-aut...
asked by 28.05.2017 / 21:02
1
answer

With angle can I modify a file hosted on a server? Or do I have to implement something extra?

In case I want to modify the lines of a file on the server. Use Nodejs on the Back-end side     
asked by 11.05.2017 / 21:25
1
answer

How are the nvd3 graphics defined?

I have several graphics of nvd3, and reading I have learned that to place the time in the column x must be passed in time unix, but this data //Siendo el primer dato el tiempo y el segundo el valor] values: [[1083297600000, -2.974623048543], [...
asked by 26.05.2017 / 18:47
1
answer

Can 2 parameters be sent in ng-show, angularjs?

In a view I have 2 div. At the beginning you should see one but when you click on a button this should hide and show the second div that is hidden at the beginning. First div that should be displayed at the beginning <div class="md-card-...
asked by 09.05.2017 / 05:47