Create spinner-directive.js