Questions tagged as 'angularjs'

0
answers

Kendo UI Grid in an AngularJS Directive

How to create a Kendo-grid with reusable options using AngularJS? In addition to the default settings, the grid must dynamically include a checkbox column with the option to select all rows. Methods to handle selections should be part...
asked by 01.05.2014 / 21:08
1
answer

Ng-repeat and AngularJs beginner error

I'm starting at angular and I still do not understand the workflow of it. The code below does not work: <body ng-app> ... <div ng-controller="Grid" class="gol-grid"> <div class="row" ng-repeat="row in board track by...
asked by 01.12.2014 / 20:11
1
answer

Get value from an input text in javascript

Colleagues, I have the following scenario: I have an input input type="text" id="myField3" name="myField3" ng-model="selected"/> I need to play the contents of this input in a variable in javascript: <script> var escopo = docu...
asked by 26.01.2018 / 17:19
3
answers

Problem with CORS using Ionic and Lumen

I'm developing an app with Ionic and using Lumen in the backend API. I'm having problems with 'CORS', I already configured the server (both using the internal PHP server and Apache, and the same error occurs in both) creating a middleware for CO...
asked by 19.11.2017 / 15:34
1
answer

How to make slideup / slidedown without a click event?

Hello, I'm starting at AngularJS and I have some doubts ... One of them is this. I have the following code: angular.module('ValueSelling.controllers', []).controller('startController', function($scope, $routeParams) { jQuery('body').rem...
asked by 29.07.2015 / 15:18
3
answers

Ion-tabs with class tabs-top in iOS?

I am creating an application that uses tabs for navigation and set the tabs to the top with tabs-top . In Android works right but in iOS the tabs are behind header , how to solve this? tabs.html <ion-tabs class="tabs-icon-t...
asked by 10.01.2016 / 09:19
1
answer

JSTL adding null option within select element

I construct a <tr> line using AngularJS and JSTL, and within that line I have a select element in which it is run using <c:forEach> on an enumerator to fill it when the user clicks to insert a new line <td&g...
asked by 28.10.2015 / 13:46
1
answer

Angularjs - test $ timeout on the callback of an asynchronous function

I have the code for the following asynchronous function: obj.save({ success: function(data) { $timeout(function() { defer.resolve(data); }); } }); And in my test I have: var $rootScope, $compile, $timeout; beforeEach(in...
asked by 23.02.2014 / 00:21
2
answers

How to make a date field containing only Month and Year Html

I need a date field containing only Month and Year Html, preferably on the screen something like a calendar containing only the months and years. obs: I'm using angularJs, javascript     
asked by 21.09.2017 / 23:10
2
answers

How to use an angular service outside the angular structure?

At angular we have a service called $http . I know that to call it just pass as a parameter of a closure, that the angular makes the magic: angular.module('foo').controller(function ($http) { /** ... **/ }); What if I want to use...
asked by 04.10.2016 / 19:27