update the library and demo for angular directive changes (restrict: attribute)