Merge pull request #9 from BaBuDe/master

add badges and corresponding logic
refactor badges to use ng-if