Questions tagged as 'angularjs'

1
answer

How to present the error coming from MySQL?

I made the code below, and it works perfectly, but if MySQL returns an error, how will I know? I have no idea, can anyone help me? The message should return in alert , however I was able to create alert of Sucesso , howe...
asked by 30.07.2015 / 03:21
1
answer

How to hide a div with timeout in AngularJS?

I'm new to AngularJS and I'm picking up simple solving problems. I have my controller mainAppControllers.controller('NomeCtrl', ['myservice','$rootScope','$scope', '$routeParams', '$location','$timeout', function(myservice,$rootScope ,...
asked by 27.01.2015 / 21:44
1
answer

Display Alert according to an Ionic condition

I have a user registration page where I have a code field where I would like to validate it according to a condition ($ scope.erro) coming from my controller, I already have some alerts but they validate only the form / p> Controller:...
asked by 26.10.2015 / 19:17
3
answers

Demand pagination with Angular or JavaScript

How to make a paging on demand with AngularJS? I have 2 particularities: 1 - You can not use jQuery, just Angular or pure JavaScript. 2 - I have 2 methods the prevPage and nextPage . Here are some examples of the methods: $...
asked by 22.05.2014 / 20:06
2
answers

Are there BI / OLAP tools for the MEAN.JS platform?

Can anyone point me to a BI / OLAP framework or at least one Chart Engine, preferably open-source, to properly integrate the MEAN.JS or MEAN.IO with SPA SPA - Single Page Application I know keen.io . It is free in low transactional volu...
asked by 19.10.2014 / 22:16
1
answer

How to change the text of the paging buttons of the Bootstrap Pagination UI?

I'm working with UI Bootstrap Pagination , but by default the language is in English. Would it be possible to change without having to modify Javascript directly? If so, could you give me a simple example?     
asked by 13.12.2017 / 13:33
1
answer

Change CSS value according to Scroll

I need to, when I scroll the page, apply css to div, for example: When the user arrives in the middle of the site, or in the desired section, apply a CSS from this point to a div , as it scrolls down the page, it changes the value of th...
asked by 20.12.2017 / 20:26
1
answer

What is the difference between the types of binding in the Angular?

Non-Angular (non-AngularJS) there are some ways to bind Component properties to the View. <img src="{{ boundProperty }}"> <img bind-src="boundProperty"> <img [src]="boundProperty"> Is there a proper way to perform bindings...
asked by 22.09.2017 / 04:58
1
answer

How to implement a system of undo and redo in javascript?

I see in some native tools in javascript , the redo and undo option, as if it were a Ctrl + z and Ctrl + y , but are graphical tools and not forms. I thought of something like ... The components will be estáticos...
asked by 15.08.2017 / 15:56
1
answer

AngularJS ignores content-type for GET requests

In my Angular 1 application, I am using $httpProvider to be able to default to all content-type methods, but for GET methods, it does not send in its header. How can I force the angle to set the content-type in the GET methods? No conf...
asked by 19.10.2017 / 14:52