JSFiddle - React, Tailwind, and code Playground
by mmansion
JavaScript
angular.module('myApp', []).
service('myService', function () {
return {
myProp : "my property value"
};
});
function ControllerA($scope, myService) {
console.log($scope);
};
function ControllerB($scope, myService) {
console.log(myService);
};