CCole / RESTConsumption

Consuming RESTful service with angular and styling with cbp theme
0 stars 0 forks source link

DataEntry component and staffForm enhancement #2

Closed CCole closed 7 years ago

CCole commented 7 years ago
CCole commented 7 years ago

angular-ui-mask in lieu of jquery.inputmask?

CCole commented 7 years ago

use Input field focus popover for npiNumber form input try angular ui popover directive.

CCole commented 7 years ago

Attempting to add link to NPI registry using uib-popover-html (which takes angular expression that evaluates to an html string) from within the npiNumber popover and running into Error: [$sce:unsafe] Attempting to use an unsafe value in a safe context.

researching: http://stackoverflow.com/questions/9381926/angularjs-insert-html-into-view

CCole commented 7 years ago

What it means to sanitize HTML HTML sanitization is the process of examining an HTML document and producing a new HTML document that preserves only whatever tags are designated "safe" and desired. HTML sanitization can be used to protect against cross-site scripting (XSS) attacks by sanitizing any HTML code submitted by a user.

angular-sanitize

CCole commented 7 years ago

$sce is included by default starting with angular 1.2- so you don't need sanitize anymore in order to get $sce.