Adding protractor formula, and ui-router formula