Category: AngularJS

Controller communication in AngularJS

Quite often there is a need to pass data from one controller to another. This is relatively easy if we need to pass data from child to parent controller, but not so straight forward when controllers are not in that relationship. Still, there’s quite a few ways of achieving that, differing in ease of implementation […]

Read More…

Data mocking in angular E2E testing

We needed to create a suite of e2e tests for our web app, preferably without having to hit the database for obvious reasons. So basically I wanted to have a solution that satisfies these requirements: Allows easy switch between real and test data, for example by specifying a url parameter. Allow to specify a mock […]

Read More…