Module License: BSD
Added by: Sam Deering
This is a trivial node-webkit-angular application example.
I wrote it to work out how best to connect angular based UI with node based modules.
The node module is a trivial service implementing a bomb. Bombs can be created with a delay and will eventually explode. Bombs emit events when they blowup.
The node module is wrapped by an angular factory. This factory registers for events from the bomb and converts those events into all of the following:
All three work and it's largely a question of preference and context that will determine which solution is right for you.
A few notes on managing async behaviour between angular providers and controllers.
Module stats last updated: 2017-04-10 15:00:28