Changed location in object i formService to use the cleaner angular $location object