Questions tagged as 'angularjs'

0
answers

how can I traverse the object of an external api with angular js

Hi, I am working with an api with the angular service http and I get the api endpoint, url = api / v2 / {endpoint} but I can not go through the object that contains this url since to access each element I have to access a api / v2 / {endpoint} /...
asked by 05.08.2017 / 07:14
1
answer

How to export a complex JSON response to XLS, with JavaScript?

Hello everyone! Do you know of any tool that can generate an XLS from a JSON response? I intend to make a query, without showing it in a table, and based on it elaborate the XLS as customizable as possible (similar to PHPEXCEL, where you h...
asked by 14.03.2017 / 00:43
1
answer

Is it possible to access a property of a base class using Generics in Typescript?

I have the following class that will be the basis for the entities of the application namespace Base { export abstract class BaseEntity { endpoint: string; public abstract getId(): string; } } and the implementation...
asked by 08.03.2017 / 02:22
0
answers

Interceptor unit tests in for $ resource in AngularJS

I am trying to do unit tests of my application in AngularJS. I am creating a factory of the inheritance of other services to communicate with the database making use of $resource and $cacheFactory to reduce the number of cal...
asked by 08.02.2017 / 14:15
0
answers

Problems with Bootstrap DualListBox

What I have so far: I show the content of a JSON in the options within a select, which with the help of the bootstrap-duallistbox shows it in the form of a Dual List with which you can add or remove certain selected options. My pro...
asked by 20.02.2017 / 21:45
0
answers

How to reload assets after route in angularjs?

I have a site with animations. When I load the page for the first time everything works. But if I browse through the pages "/", "/ company" the animations stop working. I leave the example with screenshots: First upload "home.html":...
asked by 06.01.2017 / 20:50
1
answer

How to use AngularJS filtering with Firebase

I have a problem at the moment that I want to filter a array of my database of Firebase , and it is that when filtering I get the following error:    Error: [$ injector: unpr]    link $ injector / unprp0 = orderByPriorityFilterP...
asked by 30.12.2016 / 21:56
1
answer

Position a mdPanel inside a mdDialog

I'm trying to position a mdPanel under a TextBox within a dialog but the mdPanel always appears in the upper left corner of the mdDialog ? What am I doing wrong? The HTML of the component: <div class="hide">...
asked by 17.01.2017 / 18:25
1
answer

Correctly configure routes in angularjs

I have the routes configured in my file crud.js in the following way: app.config(function($routeProvider){ $routeProvider.when('/',{ templateUrl: 'vistas/estudiantes.html', controller: 'ListarEstudiantesController' }).when('/estudiante...
asked by 19.01.2017 / 16:42
2
answers

$ routingprovider does not work yeoman angular

The routing is not working for me when generating the project in Yeoman, I do not understand the reason. When I click on any item in the menu, it does not redirect me to that part: home: link .  about: link .  loguin: link . index.ht...
asked by 29.01.2017 / 04:49