Questions tagged [angularjs-1.5]

Represents questions specific to AngularJS versions 1.5. The primary theme for this release was to improve the upgrade path to Angular 2. In this release, features added that will enable developers to write Angular 1 applications that are closer to the way that applications are structured in Angular 2.

Represents questions specific to AngularJS 1.5.

See https://blog.angularjs.org/2016/02/angular-150-ennoblement-facilitation.html.

For questions about AngularJS 1.6 use , and for the second version.

127 questions
1
vote
1 answer

Angular 1 and TypeScript not binding to variable

I've got the following code, where I expect the content of the property variable to be displayed in the page. I read a couple of posts and tried to find out what I'm doing wrong, but couldn't find the error. Here is the code: namespace testWeb.about…
N.Zukowski
  • 600
  • 1
  • 12
  • 31
1
vote
1 answer

AngularJS 1.5 component ng-repeat display as table

How to display ng-repeat in a component as a table? Why is my item component not displaying data as table rows? Here's a Plunker and the code as well: index.html …
basagabi
  • 4,900
  • 6
  • 38
  • 84
1
vote
0 answers

AngularJS 1.5 Decorator not working for $log

I've decorated the AngularJS $log service, but I can only see it load the config and none of the $log methods are decorated. This used to work and I have a lot of $log.info(...); in the application that I need to be turned off for a deploy, but…
mtpultz
  • 17,267
  • 22
  • 122
  • 201
1
vote
0 answers

Can $transclude be used to get interpolated text content?

Is there a way to get transclude content after it has been interpolated using $transclude in a controller? I want the transclude to be performed without any alteration, but I need the interpolated value. For example I have a component that…
mtpultz
  • 17,267
  • 22
  • 122
  • 201
1
vote
0 answers

Laravel 5.1 DB::table chunk for a Restful API and Angular.JS

Is there a way to chunk millions of records in a Restful API call? I am using Angular.JS / Ionic for the client and have a restful API that works great with smaller number of records about 10,000. But my database has a couple of million records and…
techwestcoastsfosea
  • 686
  • 3
  • 10
  • 21
1
vote
3 answers

how to inject momentjs in typescript in AngularJs 1.5

I want to inject the momentJs library in my typescript code to do operations on a Date object. But I am not familiar with injecting typescript through angularJs, since it is little different from javascript. angular.module("app") …
Raunak Matai
  • 13
  • 1
  • 6
1
vote
0 answers

Implement google analytics in angularJS1.5 app

I have an angularjs1.5 app and it is using ui-router for state change.Recently, I got the requirement to implement google analytics in our app. I never worked on google analytics before.So, I started doing some research.so far, I bottom down to two…
1
vote
0 answers

Issue with scope.$eval in a third party directive

I am using a selectionModel(selection-model.js) directive in my application. I am passing some values to directive using attribute in my element. In the directive link function, value is being read like = var smMode =…
learntech
  • 123
  • 1
  • 9
1
vote
2 answers

angular: many components using reusable service

I'm following todd motto's styleguide for angular. And in his approach, and in john papa's approach as well, they say each component should have its own services in which they depend. My question is, what happens when I have a service (e.g.…
monkeyBug
  • 555
  • 1
  • 4
  • 16
1
vote
1 answer

Is it possible to invoke a component on ng-click?

Previously there was a
, the contents of which i was toggling on ng-click. With components in Angular 1.5, i moved the contents of the
and created a component. I want to load this component on ng-click now. Is this possible ? I did not…
1
vote
1 answer

Defining constants in es6 class for angular 1.5 controller

I am struggling to get this to work. I understand that static variables cannot be declared in a class in ES 6 format. How can one declare constants within a class and also access it within the class itself here is what i have . I am trying to…
looneytunes
  • 741
  • 4
  • 16
  • 35
1
vote
2 answers

Angularjs 1.5 Nested Components bindings

am trying to pass a value from a parent-component to his nested child-component in angular 1.5 The value can be updated from the parents, but child cannot edit it, just show it. So is a one-way binding '<' right ? And i cannot pass the child…
Héctor León
  • 2,210
  • 2
  • 23
  • 36
1
vote
4 answers

Angularjs 1.5.8 - radio button list inside 2 levels of ng-repeat not working properly

Please check the code below, angular.module('myApp', []).controller('myController', ['$scope', function($scope) { setTimeout(function() { $scope.policies = [{ drivers: [{ gender: 'M' }, { …
1
vote
2 answers

Is there any blog post which can guide me to use ui-router with angular components?

i am looking to transform Angular app with 1.5, but we have used the ngComponentRouter. As its been deprecated , i am looking to shift to the ui-router. But, if we make dumb components, so i was thinking how we can incorporate these with…
1 2
3
8 9
Company Stock Price Last Updated Time