A simple AngularJS wrapper for favico.js. Make use of your favicon with badges, images or videos.
- Download the latest release or the current master from GitHub. You can also use Bower to install the latest version:
$ bower install mindsmash-angular-favico --save
- Include the library in your website (please use either the minified or unminified file in the
dist
directory):
<script src="mindsmash-angular-favico/mindsmash-angular-favico.min.js"></script>
- Add favico as a dependency to your app:
angular.module('your-app', ['mindsmash.favico']);
You may configure the Favicon
by injecting the FaviconProvider
into the config function.
myApp.config(["FaviconProvider", function(FaviconProvider) {
FaviconProvider.setOptions({
animation:'fade',
bgColor: '#f00',
});
}]);
After injecting the Favicon
into your application, it supports the same API as favico.js.
Please see the favico.js documentation for more details.
Favicon.badge(...)
Favicon.image(...)
Favicon.video(...)
Favicon.webcam(...)
Favicon.reset(...)
- Fynn Feldpausch @ mindsmash GmbH