Questions tagged as 'angularjs'

4
answers

What is the difference between creating a module normally and creating a module within a function?

I've been looking at some sample projects in AngularJS and have come across several times with the following code: (function () { angular.module('meuModulo', [ 'alguma.dependencia', 'outra.dependencia' ]); })(); Th...
asked by 30.03.2016 / 15:46
1
answer

How to Filter by Category via Modal checkbox using Ionic / Angularjs?

EDITED FOR BETTER EXPLANATION I have 3 types of filters: A search: <div class="bar bar-subheader bar-assertive"> <label class="item-input-wrapper textbox-search"> <i class="icon ion-search placehold...
asked by 13.03.2017 / 15:29
2
answers

How do I pass one parameter to another scope with angularjs?

I have a screen that contains a list of information, when clicking on some item I can get its number, for example: Item 5 of array . The problem is that on another screen I need to display the information of the item that was clicked, and I'...
asked by 01.03.2015 / 00:00
1
answer

Error between directive and controller

Files:    index.html    controllers / control.js    directives / directiva.js    directives / botao.html * I have a function called $ scope.change (age) = function () {....}; in control.js * in the directive I have templateUrl: "botao.h...
asked by 18.02.2017 / 00:56
1
answer

ng-model with undefined value in the controller

I have a very strange problem. I have some filters that look like this. <div ng-show="filtroReduzido" class="col-md-2"> <div class="form-group"> <label>Codigo Reduzido</label> <div class="form-g...
asked by 03.03.2017 / 13:13
0
answers

update character counter of an input

I have a page where you can add fields in which clicking on "create new field" opens a modal with a input with a character counter and two buttons, being able to add as many fields as you want. However, when I create the first one,...
asked by 06.02.2017 / 16:25
0
answers

SPA's login page (AngularJS) [closed]

In the current scenario, I have an index.html that works as a kind of template. For example, in it I have a side menu, a toolbar at the top, and the "center" a div (ng-view) to receive the dynamic content. The point is that the login screen h...
asked by 07.02.2017 / 13:14
2
answers

Sharepoint with Angular. Are we doing it right? What is the best way to integrate? [closed]

Hello, Here in the company we have Sharepoint 2013 with Angular. I arrived after the project started. Good, Here they use the Web Parts to spit angular tags on pages. And from there we have all running on the Angular and not on Sharepoint W...
asked by 26.01.2017 / 14:58
0
answers

Problem with modal screen opening using bootstrap

I'm new to web programming, and I'm having a problem opening a modal screen using bootstrap. Basically I have a grid controlled by ng_repeat in which I have buttons when clicking on the edit button I want to open the modal screen contains the da...
asked by 06.03.2017 / 20:08
0
answers

Angular sending data with token

I'm not sure if this is the case, but I'm not sure if it's a good idea. if when I need to send the data of a form should I send them in the body of the file as a normal post? Or would there be another good practice for this submission?     
asked by 22.03.2017 / 02:11