Closed CCole closed 7 years ago
angular-ui-mask in lieu of jquery.inputmask?
use Input field focus popover for npiNumber form input try angular ui popover directive.
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
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.
$sce is included by default starting with angular 1.2- so you don't need sanitize anymore in order to get $sce.