set up directive view template
added jquery slider in angular directive