I have some issues with automatically updating a code in Angular.js inside my site.
The integration is Node.js with HTML, integrating with Angular.js. However I have to always give F5 on the page so it updates the variable "Temperature". I would...
A clue please, if I have a service ServiceY and this service has a ServiceY.nome attribute. In the same screen I have four controller , being: controller_A , controller_B , controller_C and controller_D an...
When I try to use the following code in a website template:
<img src="{{getImage(estabelecimento)}}">
The image loads correctly, but before loading this error appears in the console:
GET link 404
(Not Found)
Everything l...
Error: [$injector:unpr] http://errors.angularjs.org/1.4.5/$injector/unpr?p0=%24scopeProvider%20%3C-%20%24scope%20%3C-%20LogUserService
at Error (native)
at http://localhost:8080/web/resources/js/angular/angular.min.js:6:416
at http://localhost:80...
I need to pass two values (page and total) of $ scope that are in the controller to a service factory, how do I? Is there any good practice to do this?
Service:
angular.module("myapp").factory("AtividadesAPI", function ($http, config) {...
I'm trying to read a Json file via a service I created:
Service:
App.factory('service', function($http) {
var promise;
get: function() {
if (!promise) {
promise = $http.get('../library/data_json....
I'm trying to sort fields dynamically by Ionic and AngularJs. I started by using the Modal Select plugin with the button like this:
<button class="button button-stable button-block icon-left ion-android-restaurant" modal-select="" ng-mode...
I have a Java / Jersey service that returns a Boolean pro for AngularJs. In my controller, I get the value of the return from the promise, but it returns me an Object. In other cases, as a return from a User entity, for example, it works fine, b...
I'm trying to initialize some user parameters using AngularJs and google cloud endpoints. Through an endpoint getProfile, I need to get the user information like photo, description, age to display on the screen.
I can make a call of this type us...
Good afternoon, I'm trying to make a client that indexes the information of several webservices (about bitcoin quotes from several brokers), but when trying to access the webservice the imported json values are not displayed, and pressing F12 in...