Questions tagged as 'angularjs'

2
answers

Value $ Scope of ng-model Throw "Undefined" in the Controller

In my studies of the Ionic Framework I am learning about controllers, I have been working a simple example of a page with a login, then my HTML code, I do not leave it anymore because the rest was generated by Ionic and I did not touch it at all...
asked by 18.11.2016 / 04:31
1
answer

Request POST in Django with AJAX function in Angular

I'm doing an AJAX function in angular where I pass a value for POST and it returns an object in JSON. My AJAX function is this: $http.post('/get_professional_info/', {idProfessional: id}).then( function mySucces(response) {...
asked by 02.11.2016 / 19:24
1
answer

How to capture the value of a select in Ionic, AngularJs?

The problem occurs when passing the value of a select, which I want later when ng-change detects a change a request is sent with the value of the id of the selected province, to then return the cities according to the province, but show that id...
asked by 15.11.2016 / 01:53
2
answers

Error 500 POST with Ionic and AngularJS

I have a problem when trying to perform authentication with Ionic and AngularJs with a Backend in Cakephp 3. Testing with Chrome Postman, everything works perfect. The problem is making the call with the Ionic driver. Here I present all the elem...
asked by 15.11.2016 / 16:44
1
answer

I do not know how to use Component Angularjs

Good morning. I am working on a project of a web page where I use Angularjs. The case is that they sent a controller where I use a .component and the template and I have no idea how it is done, I started doing something looking on the internet...
asked by 09.11.2016 / 13:15
0
answers

Error Can not read property 'then' of undefined in md-autocomplete of Angular-material

Good afternoon. I want to use md-autocoplete of angular-material but it throws me the following error:    angular.js: 13920 TypeError: Can not read property 'then' of undefined   at fetchResults (angular-material.js: 23331)   at handleQu...
asked by 27.10.2016 / 21:59
0
answers

CSRF from angularjs

How do I make a request to a web services that requires CSRF? I have this service: app.service('Names', function($resource, $httpParamSerializerJQLike) { return $resource('http://datos.24x7.cl/get_generic_ajax/', null, { 'getAll': {...
asked by 21.09.2016 / 17:36
1
answer

ng-init does not work

I have this: <input type='text' name="dateQualitative" ng-model="dateQualitative" ng-init="dateQualitative='${valor}'" /> ===> Esto funciona But this other one does not: <div ng-show="scenario.individualQualitative" i...
asked by 29.09.2016 / 20:03
2
answers

Update table with ng-repeat does not work

I have a table that is populated with a ng-repeat that iterates over a list of objects. The problem is that when the value of that list changes, the ng-repeat does not refresh the data. To the list I take it from a database through...
asked by 29.09.2016 / 08:58
0
answers

Can I use the styles of Ionic 2 material design in Ionic 1?

I would like to know how to use the Ionic 2 design material, but also the styles that IOS uses, since there is a plugin for Ionic 1 design material but it is only with the styles that for Ionic2 are used only for android . Does anyone know of...
asked by 30.08.2016 / 17:20