Questions tagged as 'angularjs'

1
answer

Difficulty updating data with angular and php

Good afternoon I'm trying to update data in the database and I can not. If I use mysqli, the following warning appears on the console: " link 500 (Internal Server Error)" If I use connection with mysql and PDO, nothing happens, no warning...
asked by 09.01.2016 / 18:44
1
answer

Problem ng-click with AngularJS

I have a button: <a ng-click="like">Gostar</a> When someone clicks on it, it performs the action and it is replaced by jQuery with the other button: <a ng-click="unlike">Desgostar</a> But when you click the repl...
asked by 16.01.2016 / 01:40
2
answers

How to allow cross-origin requisitions?

I have an Swift App that consumes data from an API, in swift I had to enable it in info.plist adding: <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict&g...
asked by 18.04.2016 / 19:35
1
answer

How to select a value from an option by AngularJS

Well, I make an interaction to get the options, and I want the first option to be selected <select class="form-control" name="accounts" ng-model="vm.deposit.account"...
asked by 25.05.2015 / 20:04
2
answers

How to index in google sites that use javascript? [duplicate]

I'm doing a SPA site with angularJS and I'm having a hard time indexing every page on google, because as I load information via AJAX, it just indexes my home page, I've read a lot of things about it, and I have one good English, but I decided...
asked by 18.04.2015 / 15:42
1
answer

State Machine with AngularJS

I'm having trouble implementing a state machine using AngularJS .. On my first try, I tried to use this made in JS: link I could not make it work as I wished. I followed the examples and got no results. What I tried was to create a few s...
asked by 09.10.2015 / 17:08
1
answer

SpringBoot and Angularjs Routes

I'm trying to put a friendly url to get the '#' from the angle of the url, I followed the following tutorial: # / spring-boot-as-a-backend-for-angularjs / and it worked fine on the static url. But if I do this .state('site3.evento', {//a...
asked by 07.08.2015 / 18:25
1
answer

Load all dependencies dynamically

In the index.php file I include all controllers: <script src="app/app.js"></script> <script src="app/ctrl_A.js"></script> <script src="app/ctrl_B.js"></script> <script src="app/ctrl_C.js"></scrip...
asked by 13.11.2014 / 18:10
2
answers

Controller runs every time it changes route

In index.html I have 2 views: sidebar-left: where the menu loads after login. content: where the page in question is loaded I'm using angular-ui-router and after login, the user is redirected to the dashboard. The dashboard loads the...
asked by 18.11.2014 / 17:33
3
answers

Is it possible to use Controllers hierarchically in Angular JS?

Controllers are declared in the DOM via the ng-controller attribute. My question is: Is it possible and robust / secure to define controllers hierarchically in the DOM in child tags? Example: <div ng-controller="CtrlAbrangente"> &...
asked by 08.07.2014 / 20:05