Draws a star with any number of points using angular and JS.