Convert to angular app and get original graph functionality working