Getting Started with AngularJS in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2014 06:24 AM
At the K14 conference I heard of a few customers starting to use AngularJS within ServiceNow, so I started doing some reading on Angular. Are there any good articles, tips/tricks for getting started with AngularJS in ServiceNow?
Thanks
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2015 08:17 AM
Thank you guys for your responses!
I was able to use Ben's recommendation by defining the directive as an element rather than an attribute:
I.e,
<dhx-scheduler data="events" style="height:600px; width:800px"> </dhx-scheduler>
My custom directive was also restricted to be used as an attribute only, so I changed the restriction to allow both:
restrict: 'AE',
Thanks guys!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2016 12:54 PM
I just noticed this post about getting started with AngularJS in ServiceNow and throwing in two posts I wrote about this. Mainly showing how to can Angular to get data from ServiceNow and present it in a UI Page och in your CMS.