Questions tagged as 'angular-directivas'

2
answers

How to separate my factory in another .js file?

my question is this, I'm learning AngularJS, and I'm doing the code for a login, where I've done factory's, but everything is in the same file (app.js) as shown below: '(function () {     var app = angular.module ('login', ['ngStorage']); /...
asked by 05.05.2017 / 16:13
2
answers

Does not work angular ngview js

Good morning this is my index.html <!DOCTYPE html> <html ng-app="crudBasicApp"> <head> <title>CRUD Angular!</title> <meta charset="utf-8" /> <link rel="stylesheet" href="Content/bootstrap.css" />...
asked by 26.03.2017 / 21:35
1
answer

Problems with the ng-app directive of angular.js

good morning, I have a problem in my project, when I add the directive ng-app="miApp" I get an error by the console Otherwise, if you do not place the directive ng-app="miApp" , it does not show any error, even if you only...
asked by 31.03.2017 / 00:59
0
answers

checklist-model is not workig

I'm really quite new at angular js.As I'm trying to use the directive: checklist-model But I can not find why it is not working: In the html I'm trying to use the value of "graduated" to set the value of the checkbox of each of the items i...
asked by 01.08.2016 / 19:28
0
answers

Error implementing ngInfiniteScroll with an input type search and the browser viewport

I have some problems that I have not been able to solve, I would really appreciate it if you can help me. 1- I have an input type search in my ng-repeat to filter the articles but it only filters the first 6 articles that the ngInfiniteScroll...
asked by 01.04.2016 / 06:05
2
answers

Convert String to date () in angularjs

I am consuming from an array (json) the start and end dates. these are in string format. I would like to know how I convert those string to a date format yyy-mm-dd and print it on my controller with an alert. pdta All this I want to do to then g...
asked by 21.05.2016 / 08:00
0
answers

Load templates dynamically

How to load a template inside a controller in angularJs function PostCtrl($scope,$http, $compile, $rootScope, CONFIG) { $scope.patternUrl = (function() { var regexp = /(https?:\/\/[^\s]+)/gi; return { test: function(val...
asked by 03.05.2016 / 22:06