Skip to content

Instantly share code, notes, and snippets.

@viniciusdacal
Created October 10, 2017 19:03
Show Gist options
  • Save viniciusdacal/a5a896607dc1173a68ca974b600d69e9 to your computer and use it in GitHub Desktop.
Save viniciusdacal/a5a896607dc1173a68ca974b600d69e9 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import ngDeps from 'path/to/ngDeps';
class Login extends Component {
constructor(props) {
super(props);
const { $state, $rootScope } = ngDeps;
this.$state = $state;
this.$rootScope = $rootScope;
}
render() {
return <div />
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment