I'm using the chrome-remote-interface node package to access an Angular app remotely.
To evalate an expression that returns a Promise, I use this code snippet:
Runtime.evaluate({expression, awaitPromise: true, returnByValue: true});
I get the…
So, I have a component that contains some d3. It's not extremely complicated. But the SVG needs to be in constant transition. In order for that to happen. Once the function that does the transition runs, it then sets a timeout to call itself again…
We've upgrade a large AngularJS app to Angular. By upgrade I mean bootstrapping Angular app and then bootstrapping AngularJS.
Everything seems to work fine on Chrome but when using FireFox we get the following exception every so often:
macroTask…
I have an Angular 2 project, therefore using zone.js, in which users can edit / draw pictures on a modified canvas (provided by FabricJS).
Until recently, I kept zone.js on 0.8.5 version because I mainly didn't have time to upgrade it and test if…
After upgrading a big Angular2+Polymer1 based client project from Angular2 beta to stable, I've noticed that Angular's (eventname) DOM attribute triggers functions outside NgZone when using Safari, as well as RxJS's callbacks (subscribe, map).
This…
I have developed a simple Angular app built using Angular CLI that is designed to be embedded within third party websites. It works fine on a demo site in production mode.
However, when the app is included within a website running on Squarespace i…
I have an Angular 1 application with ngUpgrade. The application pulls in an external script file (a 3rd party service's lib), that polls a server via setTimeout..
Now, the application works perfectly, except if I want to test it with Protractor, it…
Context
I'm starting a student project which is a metric tool for angular2.
I'm actually working on the proof of concept, the proof that I can get metrics on a component at runtime only using a static register method…
I am trying to figure out the best way to call Javascript after Angular is done updating the UI.
My problem stems from the fact that KendoUI requires display:block in order to render properly. However, the Angular 2 change to this.toggleGridView is…
I'm trying to get my application to run with the new RC7 of angular but i cant seem to be able to get it done, as the console shouts:
Promise rejection: Zone.assertZonePatched is not a function angular2-polyfills.js:489
And when this somehow…
I'm listening to queryParam changes in a component in order to update and save the state of an active row. Clicking on the rows highlights the one, using the browser back button marks the prev. row as active. So far so good. But then there's IE11…
One of the 'shared' folders in a the angular 2 is getting quite full with services/models so I would like to move files into sub-folders of the shared folder
I'd like to go from this folder structure:
app
- shared
- test.service.ts
to
app
-…
I'm trying to build an authentication service for my angular2 app using FB Javascript SDK, however, the fact that the method FB.login (window.FB.login) is "out of the Zone" is breaking the "auto render thing" on my webapp. It happens because changes…
I was writing app in beta 15, and now it has come time to upgrade to latest version. I've realized that when I've updated from beta 15 to beta 16 (also updating ZoneJS from 0.6.10 to 0.6.12), my app is freezing the whole browser. I've investigated,…
This is actually a spin off from here, with a much simpler use case, though. It is about how to let Angular2 know that there are externally added DOM elements containing Angular directives. In this case, I add a new click button whose on-click event…