feat: removed the requirejs dependency

I'm using the window.famous object from their global build as you suggested.
If you want to distribute your own version of the famous lib, I've managed to generate my own version using browserify-ftw and browserify, but it seems to be a little less clean (they probably use custom parameters).

For the moment I've kept the same function calls by registering the famous lib in the same `_modules` hash that we were using for requirejs. The difference with the global famous object is that we use slashes instead of dots.

For example `$famous["famous/utilities/Utility"]` is the equivalent of `window.famous.famous.utilities.Utility`.
Obviously ! ;-)


2014-08-07 9:54 GMT+02:00 Myles Borins <notifications@github.com>:

> In src/scripts/services/famous.js:
>
> > -    // Our versions of angular, angular-mocks and karma the latest stable
> > -    // releases, so not sure why this is happening.
> > -    // Quick fix until then.
> > -    if (angular.resumeBootstrap) {
> > -      angular.resumeBootstrap();
> > -    }
> > -  });
> > -
> > -  // To delay Karma's bootstrapping until $famous is ready, fire off a global
> > -  // event to allow karma to know when the $famous provider has been declared.
> > -  window.dispatchEvent(new Event('$famousModulesLoaded'));
> > -
> > -});
> > +    return _modules;
> > +  };
> > +});
>
> I do what I want!
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Famous/famous-angular/pull/157/files#r15922547>.
>