Uncaught SyntaxError: Unexpected token while using ionic ion drawer

Hi guys, I am using ionic ion drawer for my side menu. As I test it in codepen, it works fine but when I run it in the device it shows Uncaught SyntaxError: Unexpected token . in the ionic.contrib.drawer.js. By the way I am using vs community 2015. What could be the problem?