Questions tagged as 'angularjs'

2
answers

Fullpage JS, running on different pages

I'm developing a project in AngularJS and I'm using Fullpage.js for scrolling the pages. So far so good, the problem is this: Because I have internal pages, I also need to use script scrolling on these pages. But even creating the function as...
asked by 20.07.2016 / 14:20
2
answers

How to restrict the filling of only numbers in an input with AngularJs?

I noticed that the page has the following code for an input: <div class="form-group required col-md-3"> <label for="area" class="control-label">ÁREA(ha):</label> <input id="area" type="text" class="form-control" da...
asked by 26.10.2016 / 15:26
1
answer

Addressing possible typos in emails (@gamail, @hotnail ..) [duplicate]

Well, I have some problematic registrations on account that the user typed eg "josé@gamail.com". From what I've seen in this answer , most servers disabled a possible ping with response if email exists because of spammers. What would be...
asked by 13.08.2015 / 19:13
2
answers

Array problems in angularjs

I'm having a problem filling an array and then returning it. For example: JS var my_array = {'teste':{'name':'Teste 123'},'lorem':{'name':'Lorem Ipsum'}}; // Esse valor é preenchido pelo $http.post() HTML {{ my_array }} // Retorna...
asked by 22.01.2015 / 11:04
3
answers

How do I populate a $ scope (angular) with get.Json (jquery)?

I have a PHP application and use $.getJSON of jQuery to fetch data and thus submit it to my user. I would like to populate a table using Angular. How do I fill a $scope with the response of $.getJSON ? Code sample below (w...
asked by 27.02.2014 / 14:23
1
answer

How does the databinding and dirty-check of Angularjs work?

How the angular data-binding works and how it can update the HTML so quickly an input for the declaration with {{}} and not only in the Angular, but also in other cases like EmberJS. I know he uses dirty-checking, but how exactly do these...
asked by 12.11.2015 / 16:53
3
answers

Check if there was POST with Javascript

I have a singlepage application, and I would like to monitor POST for a webservice. When I send the information it removes the loading. ex: scope.deleteFile = function (fileId,index) { scope.loading = true;...
asked by 18.11.2014 / 15:52
2
answers

Single Page Application with jQuery

How can I develop a SPA with jQuery? I did with AngularJS with the following code, however I am having difficulties to migrate to it definitively and decided to keep with jQuery so as not to be late. var myapp = angular.module('myapp', []); my...
asked by 22.11.2014 / 22:41
1
answer

AngularJS and SEO

I have a site made with AngularJS and PHP. All content that is common between pages is only uploaded once, when the user changes pages only the content of the respective page is loaded (executing the API in PHP that returns a JSON) and its te...
asked by 15.12.2014 / 13:56
1
answer

Pass database contents from page to page

It seems like something simple to search, but I can not. I would like to when clicked on an item in the list, open a new page with the detailed information of that item, it will be the same information used on the homepage. But I do not know how...
asked by 17.08.2018 / 22:47