I have a problem with angle expression
This does not work! ! checked2
<body ng-app="">
<label>
Click me to toggle:
<input type="checkbox" ng-model="checked">
<input type...
I need to pass two values (page and total) of $ scope that are in the controller to a service factory, how do I? Is there any good practice to do this?
Service:
angular.module("myapp").factory("AtividadesAPI", function ($http, config) {...
The question is simple, before the function I declare splited and within the function change splited to the value returned in response , now, after the function when I give console.log returns empty. Why?
var splited...
Hello, let's say I have an object that has the following values
var json = [
{"nome":"Coisa A", qtd:2},
{"nome":"Coisa A", qtd:3},
{"nome":"Coisa B", qtd:5},
{"nome":"Coisa B", qtd:7}
]
Well, I can return these value...
Well, I'm new to AngularJS. I have a project, a single page with routes configured with a controller. Views are loaded within the element of the index.html page. Inside the controller I'm making an http call to get the data and data binding with...
I would like to know about manipulating objects between pages using AngularJS, for example:
I have a product page, in it I make a requisition and I bring my data using the basic of AngularJS.
My problem is when I need to pass a selected objec...
How do I display only some of the most important information in a list as in the example below?
{
"userId": 1,
"id": 1,
"title": "DRF - Delegacia de Roubos e Furtos",
"endereco": "Praca Maua, 5 - Centro",
"tel":"2233-2701",...
I have already managed to make a mask, but I still can not validate whether this cnpj exists or not.
What I have today is
<input id="input-cnpj" name="cnpj" id="cnpj" ng-model="data.cnpj" type="tel" ui-mask="99.999.999/9999-99" ng-click...
I'm starting to work with AngularJS and I have the following situation
I have a href that redirects to a div within the page itself by the div id:
<a href="#teste"></a>
<div id="teste"></div>
But AngularJS tries to...