Questions tagged as 'angularjs'

2
answers

Problem with regular expression in asp.net with angularJS (1)

On this site, I got this regex : @"^\(?\d{2}\)?[\s-]?[\s9]?\d{4}-?\d{4}$" Then I tried to adapt to my reality, my rule being: Only accept digit (number) in the input. I'm not that stuff with regex , I have trouble with it. I did...
asked by 07.10.2016 / 18:01
0
answers

Return data from another function within a directive ng-repeat angularjs

I have a function that returns an array inside a directive ng-repeat , so far everything normal, What I want to know how to bring data from another function that does another query, I want to bring within div with ng-repeat...
asked by 03.10.2016 / 21:01
0
answers

Using jQuery correctly + RequireJS + AngularJS

I am trying to get the themes/cms/build/js/main.min.js file to work properly after being loaded by RequireJS , but I have not been successful. The file is loaded, some functions work as console.log() , but others like $(elemen...
asked by 02.10.2016 / 00:36
0
answers

How to move users from all devices?

I'm working on an application and this doubt came to me while I was doing some tests, where I made some changes, like the password change, on the computer but my user remained logged in on the phone. Or as some other services do (stackoverflow,...
asked by 26.09.2016 / 16:49
0
answers

AngularJS $ http.post taking too long

I have a web API made in php that accesses a MySql database that has a return in JSON and I'm using Ionic + AngularJS to develop an application that will use this API. In my services.js file I created a factory for each entity in my system, l...
asked by 09.09.2016 / 15:16
0
answers

I can not put the login screen outside the ui-view that is in the index.html, I am using angular-ui-router

App.jscodevarapp=angular.module('app',['ngRoute','ui.router','ui.bootstrap','ngSanitize','ui.select','ui.date','dialogs.main','angularUtils.directives.dirPagination']);app.config(function($stateProvider,$urlRouterProvider){$urlRouterProvider.ot...
asked by 09.09.2016 / 21:54
0
answers

Call PHP files and functions through AngularJS

Before delving deeper into the question, I would like to clarify that I already have a method that works. But since I do not have so much knowledge in backend , more precisely in PHP , I do not know how "correct" my code is by analyzing s...
asked by 28.09.2016 / 15:32
1
answer

Upload json on demand

I'm a beginner in angular and I'm doing a small application that consumes a json, but this json is very big and I wanted to load it on demand. I'm using the SPA concept and I use ngRoute as well, I just wanted to know how I can solve this, I'm a...
asked by 31.08.2016 / 19:39
1
answer

Change view by controller (Ng-Click)

I'm using ng-route to develop a single page application with angularjs + laravel. I'm having a problem with the swap view with ng-click and controller. I have a button in a view, and I would like it to be clicked by redirecting it to another vie...
asked by 30.08.2016 / 02:55
1
answer

Array repeats simultaneously in json

I am trying to make a calendar where I will get the information in a rest request in angularjs. What I want to create is a calendar where you can register your events. With the json date attribute it inserts this event and registers an icon on t...
asked by 28.10.2016 / 17:20