Questions tagged as 'angularjs'

0
answers

Pass the token of an AngularJs controller to a Laravel API

I am trying to pass the token that I have in my controller to authenticate to an API in Laravel. But I'm encountering the error:    "token_not_provided" Note: I am using JWTAuth with Laravel 5.4 Follow my API: use Illuminate\Suppor...
asked by 17.10.2018 / 01:45
0
answers

Testing a promise on Angularjs

I'm trying to apply unit testing on the following function: function do_query(method, url, data, callback){ var defer = $q.defer(); var header_request = StorageService[storage].get('header_request'); var settings = {...
asked by 08.11.2017 / 19:41
0
answers

TypeError: undefined is not an object (evaluating 'self.data.ID')

I'm trying to apply unit testing on my onPersistSuccess function, but this error appears    TypeError: undefined is not an object (evaluating 'self.data.ID') I have tried to define it in several ways but the error persists. I would like...
asked by 23.10.2017 / 14:38
0
answers

Reading a JSON by http in AngularJS does not work

Hello I'm trying to read a JSON via http using AngularJS (I need to use AngularJS) and I can not even display the first JSON data since it does not have a string that I can call in function (response) in $ scope.countries = response. ? I do not...
asked by 09.11.2018 / 20:45
0
answers

Creating non-ionic background services with cordova or java

I have an application that I started to do with ionic. A priori will be compiled only for android. In this application the user will make some registrations, which will be saved locally and every time a service in the background should try to sy...
asked by 20.03.2017 / 03:20
3
answers

Problem with URL in AngularJS

I'm running a system running locally, done in Spring Java boot on the back end and Angular on the front end. But I have a problem occurring on the front end that is as follows: When I raise my application and access the localhost/clinica/...
asked by 11.07.2017 / 12:41
2
answers

How to leave a fixed div with the scroll?

I'm using AngularJs and Angular Material and I need to make a div stay fixed but I have no idea how to do it, my structure is as follows: <div class="page"> <md-toolbar layout="row"> <md-button h...
asked by 10.11.2016 / 12:12
1
answer

Error trying to consume WebAPI service

Since this morning I try to get a JSON that a WebAPI makes available. First I tried with insira o código aqui AngularJS and it was not evolving, so I went to the classic Jquery/Ajax and even then I did not succeed. In...
asked by 06.07.2016 / 20:26
1
answer

jQuery Error + AngularJS + Materialize CSS

I have the following procedure on my angle controller: $(document).ready(function(){ angular.element('.button-collapse').sideNav(); angular.element('.parallax').parallax(); }); I'm starting these materialize css components. When I first...
asked by 14.07.2016 / 22:32
1
answer

How indexing works with search engines using Angular JS

How do search engines index the displayed content with angular? I researched and verified that Google apparently reads Javascript according to this matter . But is this really true? I was browsing and look what I found on the officia...
asked by 13.07.2016 / 18:11