Questions tagged as 'angularjs'

0
answers

Render Iframe google Maps with AngularJs

I'm setting up a directive to render an iframe from google maps within my app. And I managed to do it this way: <google-iframe location="item.Location"></google-iframe> directive.js function googleIframe() { var directi...
asked by 20.11.2014 / 21:24
2
answers

How to use template in directives with restrict M (comments)?

I am trying to use the restrict option with the value 'M' (for angular work through comments) to create a directive. But the comment is not embedding the value I'm adding in template . See: angular.module('example',...
asked by 01.09.2016 / 19:04
0
answers

AngularJS + RequireJS [Error Injection]

Introduction I'm developing a structure using AngularJS and RequireJS . I'm starting to study RequireJS and I researched a lot about it, but I still have not gotten any clear of it using AngularJS . Github Code Problem [Solved]...
asked by 17.06.2015 / 05:57
1
answer

Cancel changes AngularJS

I have the following code to undo the changes: $pageContent = content; $scope.page = $pageContent.page; var pageBackup = $pageContent.page; $scope.cancelChanges = function() { $scope.page = pageBackup; $scope.$...
asked by 23.04.2014 / 23:19
2
answers

HttpGet parameter is not detected

Good afternoon guys, I do not know why my parameter is not recognized, can you help me? The value does not arrive in C # but is present in the angle C # [HttpGet] [Route("carregarUsuarioPorId")] public HttpResponseMessage BuscarUsuarioPorId()...
asked by 09.09.2017 / 21:48
2
answers

Angular: Controller can not find the Model

On my main page it shows me the error: Uncaught ReferenceError: Insidetv is not defined , that is, the Controller is not finding the Model file. But if I put the two in the same file it works perfectly. On the main page you are firs...
asked by 16.01.2018 / 14:46
1
answer

Error inserting Data with AngularJS

I'm finding errors when entering data with AngularJS AngularCode:varmyapp=angular.module('myapp',[]);myapp.controller('productController',function($scope,$http){//listarprodutos$http.get("customers_mysql.php").then(function (response) {$scop...
asked by 20.07.2017 / 19:36
2
answers

Unparseable date: "2017-10-30T02: 00: 00.000Z"

I'm setting up a record where I pass a date and, upon saving, is showing this error java.text.ParseException: Unparseable date: "2017-10-30T02:00:00.000Z" at java.text.DateFormat.parse(Unknown Source) ~[na:1.8.0_144] at controller.saud...
asked by 29.11.2017 / 20:02
1
answer

Angular - I can not display table data

I do not understand why it does not display the table data, it's identical to the page you were using to study. Code: <!DOCTYPE html> <html> <script src="/lib/angular-1.4.8.min.js"></script> <body> <div cla...
asked by 20.10.2017 / 12:37
1
answer

Getting the value of the table with ckeckbox and passing to the controller with AngularJS

Good Night! I have a problem that I have not found a solution yet First I make a query in the database that returns me some values and I play inside a table with ng-repeat Table <tr ng-repeat="contrato in contratos"> <...
asked by 26.08.2015 / 07:43