ninjatronic / angular-base64

Base64 conversion for AngularJS
Other
186 stars 113 forks source link

Is it possible to inject? #22

Open narcotjke opened 8 years ago

narcotjke commented 8 years ago

Is it possible to inject $base64? How to user this library with injector?

frazzaglia commented 7 years ago

Yes,

it's clearly explained in README file:

angular
    .module('myApp', ['base64'])
    .controller('myController', [
        '$base64', '$scope', 
        function($base64, $scope) {
    }]);