Questions tagged as 'angularjs'

1
answer

Insert data from a JSON into a Sqlite database with AngularJS

I'm trying to insert the data I get from my API, into the SQLITE database of my app, I already researched a lot but besides not being able to do it, I could not figure out how to do this. Here is the code for my service : app.service(...
asked by 23.09.2016 / 22:00
1
answer

404 when trying to access url post with springboot

Good evening, I have the code below with the implementation of a service rest / test123, and when calling this method from the angular-js code, already authenticated with the basic spring-boot authentication I have access to this service. When I...
asked by 25.09.2016 / 01:14
1
answer

AngularJs - the ng-class directive is not working

I'm trying to apply this class to this when I roll the page to fix my menu at the top of the screen, but the class is not being set: <div class="page-header-menu" ng-class="{'fixed':(document.documentElement.scrollTop > 74)}"> <...
asked by 22.09.2016 / 22:46
0
answers

Why does not my option keep selected even with the selected="selected" attribute?

I'm working with angular and I have the following select <select ng-change="$ctrl.calculateDescount(partnerIndex,item)" ng-model="item.offerDiscountId" class="form-control" ng-if="item.view_offer"> <option value=""...
asked by 20.10.2016 / 13:54
1
answer

How to add dynamic buttons per page loaded?

My controller calls factory Action and adds buttons on the page I'm loading, see below controller: class AgenciesListController { /* @ngInject */ constructor(Action) { this.action = Action; this.action.addButton({ tit...
asked by 20.10.2016 / 18:49
2
answers

Get Timezone from the browser using angularjs

I need to get the timezone from the user's browser. As this is an application using angularjs, I decided to use the angular-moment library. However I did not succeed in getting the name of timezone. What I need is a way in angularjs to get...
asked by 01.10.2016 / 16:13
1
answer

angular ng-click or javascript event click inside the html prop of sweetalert2

I'm trying to make an implementation with SweetAlert2 where I create some buttons inside the "html" property. This is within a click function, which in turn is within controller . I tried to add in a setTimeout() and within $...
asked by 26.09.2016 / 15:40
1
answer

Pages with content loaded dynamically by angular has problem with indexing in Google?

I have a page today that is already in production and accessible to anyone by Google where their content is fully loaded from the Server and rendered. I've upgraded to it and now your content will be loaded and manipulated via ANGULAR + AJAX...
asked by 27.09.2016 / 21:36
1
answer

"Can not GET" while deploying on heroku

Hello, has anyone ever had something similar that might help me? When I put my project into operation on heroku, some functionality related to "v1 / photos" does not work and the console returns me the following message:    Failed to load...
asked by 10.10.2016 / 22:20
1
answer

Error sending json via $ http

I'm trying to send a json via $ http.get, but it is returning error in console "500 (Internal Server Error)" system.technology.ws/pedited.store.asp:1 Is this error in the ASP system or in the $ http request? Follow the request code $http({...
asked by 28.08.2016 / 14:18