# Nextcloud Angular -> Vue conversion
#task #nextcloud #news #angular-vue #done

Next steps:

- [x] Get it working with an Angular controller that calls an API endpoint
- [ ] Figure out how to test Vue components
- [ ] See how much size is added to the bundle for having Vue in it now
	- [ ] How does this affect load time?

## Getting it working with an Angular controller that calls an API endpoint

==Which one to use?==

What about the `markRead` function in the `ContentController.js`? 

^ That is a good choice. Replace the `<li>` part on line 21 of `part.content.php` with a Nextcloud Vue component, and see how to pass in the `Content.markRead` function so that it can be called be the Vue component. I'm guessing that you could pass in the entire controller and call it that way. `Content.markRead` calls `ItemResounce.markItemRead`, which makes an API call.

^ This has been successful.

## April 9, 2021

Next step: replace something that would use a nextcloud vue component.

After that: replace something that has a loop.