angularjs-1.5 Questions

9

Solved

I'm writing a simple angular component. I'm passing a parameter as a binding and display its value on the screen. All works fine: I can see the parameter being displayed on the screen. Component: ...
Sergu asked 26/7, 2016 at 13:47

7

Solved

I've been upgrading my custom directives to the new component architecture. I've read that components do not support watchers. Is this correct? If so how do you detect changes on an object? For a b...

4

Solved

I don't understand why $onChanges isn't kicked off when I change a bound primitive in an input. Can someone see what I've done wrong, and explain this in an uncomplicated way? I made a plunkr of a ...
Lindeman asked 4/6, 2016 at 23:53

2

Solved

Update 3/26/2017 I now use npm install @types/angular with TypeScript 2.0 and the experience so far has been much smoother than typings was. Original I have an Angular 1.5 project using ES6 modu...

1

I'm in the middle of migrating code from Angular 1.3 to Angular 1.5 components and ES6 controllers. I tried to find something here on SO, but not helpful enough. Suggestions required on how to watc...

2

Solved

I'm facing an issue with converting controllers to components preparing my application for Angular 2, but the problem the migration is not going well, I have the ui-router to route between states a...

1

Solved

I've a directive as follows: <selectable-item-list items="model.items"> <item-template> <span ng-bind="item.text"></span> </item-template> </selectable-item-lis...

1

Solved

I've created a directive which works perfectly fine. Now after bumping angular to 1.5.0, I figured this directive is a typical example of what could be written using the new .component() notation. ...
Tranquilize asked 10/2, 2016 at 9:48
1

© 2022 - 2024 — McMap. All rights reserved.