[BISEVER-10633] -- added tests for angular plugin and plugin handler. fi...

...xed bugs in api due to tests.