Questions tagged as 'angularjs'

4
answers

Return True or False in jQuery Success

< script type = "text/javascript" > $(document).ready(function() { $('#btnEnviarDados').click(function() { var strFomr = $("form").serialize(); $.ajax({ url: $("form").submit(), type: "POS...
asked by 07.02.2017 / 01:48
2
answers

Angular Controller does not render in my Index

I can not render a script on my _Layout page. I put it in the _Layout, next to the Bundles declarations and in the Chrome debug, the Aba Network comes with 304 status. I placed it at the top of the page (_Layout) and it also did not work. I remo...
asked by 05.07.2016 / 21:36
3
answers

Angularjs Format date

How to format the date in the controller of input type="DATE"? I have this return in the controller ... Sat Aug 06 2016 00:00:00 GMT-0300 (Hora oficial do Brasil) Mon Aug 01 2016 00:00:00 GMT-0300 (Hora oficial do Brasil) You can format...
asked by 16.08.2016 / 00:54
3
answers

hiding input component when selecting a value in the select field

I have a select component that brings the countries of the database <div class="form-group col-md-4"> <label>País *:</label> <select required="required" id="selecionaPais" ng-model="pessoasEnderecos.pais.idPa...
asked by 09.11.2017 / 12:23
1
answer

TypeError: $ http is not a function

Script: app = angular.module("app",[]); app.controller("controlador", ["$scope", function($scope, $http){ $scope.items = []; $scope.submitForm = function() { // Posting data to php file $http({ method : 'POST',...
asked by 04.01.2017 / 16:08
2
answers

Is it bad practice to do direct paging on the front end?

I have some systems with Java + AngularJS , in some I do pagination in back-end , using pagination of Hibernate , ex: query.setFirstResult(0); query.setMaxResults(10); But recently I found some libraries of Angul...
asked by 28.01.2016 / 20:24
3
answers

Add Values in Angular JS

I have 5 inputs where I enter some values, but when I try to sum the total result is not displayed in the last input . HTML: <label class="item item-input"> <span class="cinza input-label">Valor 1</span>...
asked by 16.11.2015 / 11:39
4
answers

Browse through screens taking information

I'm working with AngularJs and Ionic, creating a mobile application. I would like to know how best to navigate between screens taking information from one screen to another. For example: On a signup screen I want to go to the product screen and...
asked by 28.10.2015 / 11:47
2
answers

How to create routes in App using Ionic and Angulas.js?

EDITED I was able to create routes with an example of the site itself. But I noticed that the controllers are in the same main file app.js and the views are in the index.html file. I would like to know if you can separate...
asked by 23.06.2015 / 18:18
2
answers

Browse JSON - AngularJS

I have the following object: { "_id" : ObjectId("5a0ae1a032e3762988cddb11"), "numeroBo" : NumberInt(4), "relato" : "aaaa", "modus" : "bbb", "falhasApuradas" : "aaaa", "eventosDeRisco" : [ ], "acoesCriminosas" : [ ], "alertas" : [...
asked by 14.11.2017 / 13:44