migrated to angular JS
massive changes