Work without jQuery

different from [#41](https://github.com/passy/angular-masonry/pull/41) approach.

maybe, using a lot of `if` block is not cool at all...