We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7a7fbf commit b348854Copy full SHA for b348854
src/assets/prompt_patterns.md
@@ -93,26 +93,6 @@ const ServiceInjectionExample = ({}) => {
93
export default ServiceInjectionExample
94
```
95
96
-## Pattern 4: Require Controller
97
-
98
-Where a controller is required, assume that it can be passed in as a prop.
99
100
-### Example Response
101
102
-```javascript
103
-angular.module('myApp').component('myComponent', {
104
- require: '^MyController',
105
- template: '<div>...</div>',
106
-})
107
-```
108
109
-```jsx
110
-const RequireControllerExample = ({myController}) => {
111
- return <>...</>
112
-}
113
-export default RequireControllerExample
114
115
116
## Any other patterns
117
Finally:
118
- If you encounter any other patterns, not described above, please do your best to migrate them into the React component.
0 commit comments