Questions tagged as 'angularjs'

1
answer

Calling methods in class controller (asp.net web.api) to work while changing parameter name

I have a question on using the asp.net web api with angularJS that follows below. I have 2 methods in my controller class (ItemsController.cs): public void Put(int id, [FromBody]Item value) { } and [ActionName("UpdateItemFees")] [HttpP...
asked by 24.09.2014 / 20:54
1
answer

Unknown provider: ifFilterProvider - non-angular ifFilter

I have following in my app.js (function(){ 'use strict'; angular .module('app', ['ngResource','ngRoute']) .config(function ($routeProvider) { $routeProvider .otherwise({ redirectTo: '/' }); }) .c...
asked by 22.08.2014 / 00:26
1
answer

How to submit a post using Django Rest Framework and Angular.js

How do I submit a post on Angular? I did a test here and required to report to PK: index.controller('EditController', function($scope, $http) { $scope.save = function() { var in_data = { name: $scope.Job.name, description: $scope.Job.descr...
asked by 01.05.2014 / 22:45
0
answers

Angular mask-input-masks in AngularJs

I'm trying to use the angle-mask-input-masks in AngularJs (ionic v1) found in the link: link I follow all the steps in the documentation: link But the following problems happen when I try to import the script into my index.html:...
asked by 07.12.2018 / 12:48
0
answers

I need to save parameters to multiple tables

I am returning some parameters and need to break these parameters down into two tables. Follow the initial code: lamina.controller.js function salvar() { // remove a mensagem de sucesso delete vm.lamina.sucesso;...
asked by 12.11.2018 / 18:03
1
answer

Project in AngularJS

I'm trying to implement my project in AngularJS, and by loading encounter this error:    Uncaught Error: [$ injector: modulerr] Failed to instantiate module   myApp due to: Error: [$ injector: modulerr] Failed to instantiate module   postitSe...
asked by 29.10.2018 / 20:15
0
answers

AngularJS and Angular in the same project

Currently I have a project that is in AngularJS that we decided to upgrade to Angular 6. However, doing this one-time upgrade is not feasible because of the size of the project. Is there a way to keep AngularJS and Angular in the same applica...
asked by 24.10.2018 / 14:30
0
answers

how to handle a multiple file upload request and [object FileList]?

I'm trying to upload with multiple files, however the request is sending a string: [object FileList] <file class="btn btn-default" name="fotos_empreendimento" accept=".jpeg,.png,.gif" ng-model="vm.model.fotos_empreendimento"...
asked by 06.12.2018 / 13:31
1
answer

ngModel does not display dynamic field value

In a function that includes dynamic fields, I am not able to display the value of the product when typed. If I only do one input with normal value but with dynamic fields I can not see it, it follows the code: $scope.somaOS = function(v...
asked by 11.10.2018 / 21:33
0
answers

Access the previous item in a dir-paginate [closed]

I need to always access the previous item and make a comparison for the display of a tr > <tbody dir-paginate="nota in notas[0]|orderBy:sortKey:reverse|itemsPerPage:15"> <tr ng-if=""> // Essa é a <tr>...
asked by 04.07.2018 / 17:33