bump to 0.3.1, fix a bug in angular plugin