Fixed bug with injecting rootScope into formExtensions