In addition to the Storybook for React setup, you'll also need to install these packages:
npm i -D @babel/core babel-loader css-loader style-loader
In addition to the Storybook for React setup, you'll also need to install these packages:
npm i -D @babel/core babel-loader css-loader style-loader
(function () { | |
var root = angular.element(document.getElementsByTagName('body')); | |
var countWatchers_ = function(element, scopes, count) { | |
var scope; | |
scope = element.data().$scope; | |
if (scope && !(scope.$id in scopes)) { | |
scopes[scope.$id] = true; | |
if (scope.$$watchers) { |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>