Questions tagged as 'angularjs'

1
answer

Why do you use expressjs? [closed]

What is it, what is it for and how does express.js work? Is it recommended to use it with AngularJS in a SPA app?     
asked by 26.08.2016 / 17:41
2
answers

How to load scripts within a partial in Angular.js SPA

Hello, I'm starting in Angular Js, and I'm doing a project in Single Page Application, in my index, I load some scripts and my ng-view, but in one of my partials, I need to load a script into it, it does not make sense to load directly into the...
asked by 02.08.2016 / 21:23
1
answer

How to add item in API [closed]

I'm doing a basic forum just for testing, I'm using mongo and postman to add some things to test. But now, I want from the page, I send such data. Use http://localhost:3000/topico/cadastrar to add items. Follow the codes...
asked by 07.08.2016 / 03:11
2
answers

Perform a function while loading the page, JavaScript and Angular

I'm doing a registration page, and I need to relate a collaborator to a company, but for this I need when the page loads I already have a companies in a list > I'm already getting businesses in a list, problem and make the object companies...
asked by 12.07.2016 / 15:45
2
answers

Syntax error warning on the console running AngularJS

I have the following code, which uses factory: angular.module("fluxo", ["ngRoute"]); .factory('factCliente', ['$http', function($http) { var _getData2 = function(id_empresa) { return $http.post("php/index.php", id_empresa); }; return {...
asked by 12.11.2015 / 13:05
2
answers

Custom register form with angularjs + Meteor

I'm learning AngularJS + Meteor recently, and I'm doing this tutorial: link At this exact step, I'm having trouble customizing the registration form. The directory that is suggested transforms into the policy with simply an email and...
asked by 05.07.2016 / 08:42
2
answers

How to put email in the login form?

I made a web and mobile application. After registering the user, I am picking up the email and saving it in the localStorage. How can I put this email in the email form of the login form? <ion-view title="Login" hide-back-button="true">...
asked by 16.03.2016 / 15:54
2
answers

Angular Directive

I'm having a little problem creating two buttons using angular directive only 1 is appearing. How do I solve this problem? <div class="row"> <meu-painel class="col-md-2 painel-animado" titulo="{{foto.titulo}}" ng-repeat="foto in fotos...
asked by 11.05.2016 / 17:45
1
answer

Non-angular dynamic variable

I want to generate a variable dynamically in angularJS with one ng-repeat inside the other as below: <tr ng-repeat="data in vm.data.data track by $index"> <td class="center" ng-repeat="field in vm.data.field"> {{data...
asked by 12.02.2016 / 15:09
1
answer

How can I get the date and time, angled and sent to BD?

I found this code: angular function to get date and time I tested it and it works cool. But I need to take that date and send it to the bank, along with other data. How can I do this? My code looks like this: $scope.enviarMsg = functio...
asked by 16.02.2016 / 18:01