Questions tagged as 'angularjs'

2
answers

Configuring AnglesJS Routes with ASP.NET MVC

I'm having trouble performing angular routing with asp.net mvc. I configured my routing in the app.js and when I click on my links the pages are not being redirected correctly, only page that appears correctly is the Home.html, but after I cl...
asked by 22.11.2017 / 15:27
1
answer

How to pass bidirectional parameters to an AngularJS directive

I need the parameterID="{{autor.ID}} attribute that in the directive is parameterID: '@' to be updated as soon as it is changed, that is, I need the bind to be bidirectional, I have seen in several places saying to use parameter...
asked by 29.11.2017 / 01:51
1
answer

md-dialog - Angular

I use this component to open modal. I use the flex parameter to set the width. How to set the height? <md-dialog aria-label="Detalhe do bem" flex="90" >     
asked by 29.11.2017 / 14:04
1
answer

Upload photo with JavaScript

I need to take a photo and when I press the button this photo is sent to my server so I save it to my bank on base 64, I just can not get the photo and convert to Buffer . My code: (function() { 'use strict'; angular .module('meetClass')...
asked by 18.11.2017 / 03:52
1
answer

How do I get the id of the button clicked on a row of result listings by Angular JS?

How to get the button id clicked on a row of result listings by Angular JS? In the HTML page I can use list.id, but in the code in AngularJS, the following code returns me undefined : id; $scope.id; $scope.listagensRelatorios.id; $scope...
asked by 30.10.2017 / 14:09
0
answers

I can not access objects within $ scope

I'm trying to validate a form, it only writes the data if it passes in if ($scope.frmCliente.$$invalid) , but the frmClient object is not being accessible within $ scope. The error that appears in the console:    ReferenceError: y...
asked by 29.10.2017 / 13:14
1
answer

AngularJS - ng-repeat is not working

Good afternoon, I made the following code: link . Accessing the JSFiddle, you can see that the Angle shows the title that is in the controller, but does not show any data related to the array. How do I resolve this issue? HTML <div ng-a...
asked by 03.11.2017 / 19:29
1
answer

Unknown provider: PermPermissionStoreProvider

After installing the package through the bower, it is not recognized in the project. Here is the code: install command: bower install angular-permission --save (already tried to install by npm also, but without success) code where I use t...
asked by 25.10.2017 / 23:57
1
answer

Is it possible to visually display another value for a certain value in the bank?

I'm doing a ToDo and I need to define it in priority (urgent, high, medium and low). But I can only define by integer (1 is urgent, 2 is high etc) The question is: can you show another value in html but assign it to the original in the bank?...
asked by 25.10.2017 / 20:05
0
answers

Insert into MySQL table with AngularJS + PHP

I can not identify what's wrong with my code, I followed several tutorials but I was not successful in how to insert. When I press the insert button simply nothing happens, nothing is shown on the console, I was able to read the table and "print...
asked by 27.10.2017 / 01:05