Questions tagged as 'angularjs'

1
answer

I want to fetch information from a table with EF [closed]

I have the following form code: @model Domain.Entities.Tabela1 @using WebUI.HtmlHelpers @using WebUI.Extensions @{ ViewBag.Title = "Tabela"; Layout = "~/Views/Shared/_Master.cshtml"; } <article ng-app="registrationModule"> &l...
asked by 30.06.2017 / 13:07
1
answer

Upload image with form in Ionic or Angular

I want to take pictures of the device and upload the image to a certain path on my server. I'm trying to use Cordova Image Picker with Base 64. In my controller I use: .controller("form_identidade_visualCtrl", function($scope,$rootScope...
asked by 18.10.2016 / 19:05
2
answers

How to remove 401 error message from the console with AngularJS / Javascript?

I get the following error message in my console: POST http://localhost:8080/minhaURL 401 (Unauthorized) I would like to know how I can remove this error log from the console, since I am already giving a visual feedback to the user that he m...
asked by 18.01.2017 / 14:42
3
answers

How to format Date field in Ionic Form / Angularjs

I have a date field on a form that looks like this: <label class="item item-input item-floating-label"> <span class="input-label">Validade da Oferta</span> <input type="date" ng-model="product.cadas...
asked by 12.01.2017 / 11:40
2
answers

Opening another page with Angular and Sweet Alert

I'm trying to open a page in javascript with angularjs. I need when I click on the bt it asks a question and depending on the result, open a link with the url true or false. I can do this, but the page only opens if I click the button again. Her...
asked by 07.11.2016 / 18:54
4
answers

How to make a button with link in AngularJS

How to make a button with link / redirect in AngularJS? html <button class="btn btn-success" href="go('/cadastro.html')">Cadastra-se</button> config app.config(function($routeProvider, $locationProvider){ .when('/', {...
asked by 09.11.2016 / 21:23
1
answer

Access hours and minutes with Angular Timer

I want to get the hour and minute data of the Angular Timer and play in a variable to save in the bank, how do I?     
asked by 07.11.2016 / 04:46
1
answer

How the Promises works in Angularjs

I'm having a bit of trouble understanding Angularjs Promises I have the following code: function validateUser(name, pw) { var status = ''; var data = {login: name, senha: pw, plataforma: 'APP'}; $http.post('http://localhost:8100/l...
asked by 14.10.2016 / 16:16
1
answer

How to remove the hashtag (#) from the URL?

By default AngularJs formats the URL as follows: http://dominio.com.br/#/login How do I leave it as follows? http://dominio.com.br/login     
asked by 07.06.2016 / 17:05
1
answer

Call function of another non-angular controller

I have this controller : myApp.controller('listarClientesController', function($scope, $http){ $scope.lista = listarClientes(); function listarClientes() { $http({ method: 'GET', url: baseUrl + '/index.php/Clientes/List...
asked by 15.07.2016 / 19:54