FrameBudget Manager 2.0 for angularJS with unit tests