Added spinner, services and directives