Questions tagged as 'angularjs'

2
answers

Django rest and angularjs error cors

I'm using django rest and angularjs 1.x in a project, in case this backend and frontend project are isolated, I'm using a gulp server to run angularjs, but when I try to access the api rest through the $http.get of the angle, the browser...
asked by 23.07.2016 / 03:35
1
answer

Execute function after loading page with Angularjs

I'm trying to execute a function that gives an alert on the screen after it is loaded, however, I'm not having success with ng-init because using ng-init it gives the alert and the screen goes blank and only click after clicking the 'OK' button....
asked by 26.04.2016 / 16:28
1
answer

Angularjs Duplicating element

I made a chart with Morris.js link I put it inside a query return, so that's fine, but when I call that query again to generate other data in the graph, it generates another graph, it's duplicating, instead of just exchanging information, i...
asked by 27.04.2016 / 14:33
1
answer

Angular, doubt how to set checkbox

I need a help, I have a checkbox that when selected activates a class in, so far it works, problem when I duplicate tr, it activates the class for both at the same time. I posted the link in jsfiddle, if anyone can help thanks! link    ...
asked by 28.09.2016 / 15:39
1
answer

When clicking on link perform reload on div with Angular. ng-click, ng-include, controller

Hello! I have this link: <ul class="nav child_menu"> <li><a href="graficos.html">Gráficos</a></li> </ul> Clicking the link should display grafico.html through ng-include : <div ng-in...
asked by 20.05.2016 / 19:07
1
answer

Sub buttons in the angular dataTables

I'm using the DataTable plugin ( link ). You need to make the export buttons to be subitems, where there will be an export icon and clicking this will list (below) the options (CSV, PRINT, XLS). The code I'm using is below but the subitems do...
asked by 07.06.2016 / 21:53
2
answers

Send data by Angular

Hello In the form of html I do the following: <div class="container jumbotron" ng-controller="crudCtrl"> <form role="form"> <div class="form-group"> <label for="nome">Nome:</label>...
asked by 19.05.2016 / 19:46
1
answer

passing scope value to javascript function

How do I pass $scope.video_url to a javascript function in my view? I have a service that returns me the id of a video, and in my view I have a javascript infonation that starts the youtube player according to this id, but how do I pas...
asked by 22.03.2016 / 19:12
2
answers

Change selected menu according to URL segment in Angular

I'm developing a project and I'm using Angular, I need that when I access the internal page, the menu is selected, until the beauty, but problem is when the internal page contains slug or some inner internal, the code I'm using : Html: <...
asked by 29.04.2016 / 19:12
2
answers

Filter images by category with Checkbox AngularJS

I need% MEN and WOMEN . In the filter list, appear 4 items, and it should appear only 2 (man and woman) , that is, by category. Another problem is that the filter is by filtrar and that brings me only 1 image per check , I need t...
asked by 10.03.2016 / 16:59